A custom WordPress theme development boilerplate using SCSS, Timber, Barba.js, Babel, and Webpack.
- SCSS minified using cssnano and autoprefixed
- JS bundled using Webpack and Babel
- Preloader section
- Browser & device detection
- Event emitter using Barba dispatcher
- Transition map for managing GSAP transitions
- Advanced custom fields for Open Graph / Social meta tags
- Set up a local instance of WordPress
- Install and activate required plugins:
- Timber
- ACF
- Create a symlink to the built theme folder
# With a local WP install in
# ~/Documents/Sites/wordpress
# and this repo on your desktop:
ln -s ~/Desktop/wp-boilerplate/build ~/Documents/Sites/wordpress/wp-content/themes/wp-boilerplate
yarn
yarn start
The project will be launched at http://localhost:3000/
yarn build