Kickstart your next WordPress project with this block theme scaffold.
Includes:
- Full Site Editing / block theme ready out of the box.
- webpack tooling to watch and build assets.
- WordPress Coding Standards integration and linting.
- Basic Composer hook up.
- Peekaboo site header and menu (sticky on scroll up only): CSS and JS. This can easily be removed.
Excludes:
- WordPress core's block patterns - so you can build your own.
- jQuery - 99.99% of the time jQuery is not needed. Plain JavaScript is adequate.
- Expedite WordPress theming on new projects.
- Provide consistent engineering onboarding to match existing WordPress best practices.
Important Note: this theme currently requires the latest Gutenberg plugin be installed. However, we hope that will no longer be the case once WordPress 5.9 is released (Dec. 2021).
cd wp-content/themes
mkdir your-theme-name && cd your-theme-name
git clone https://github.com/rareview/wp-theme-scaffold.git .
- Search and replace all instances of
WPThemeScaffold
,WPTHEMESCAFFOLD
npm run setup
to install Composer and npm packagesnpm run dev
to watch and get started.
We encourage everyone to contribute to making this project better. Please open an Issue, or even better, a Pull Request to contribute. Thanks!