- Fork this Repository.
- Clone to your local development environment root.
- Run WordPress' Famous 5-Minute Installation.
- Complete Sage Theme setup.
- Work on Exercises.
- Commit your work.
- Submit Pull Request.
- Dance.
Our projects use Sage Theme. A WordPress starter theme with a modern development workflow. Sage is based on HTML5 Boilerplate, gulp, Bower, and Bootstrap Sass, that will help you make better themes.
Building the theme requires node.js. We recommend you use a node version > 8 [7.10.1].
We recommend you update to the latest version of npm: npm install -g npm@latest
.
Sage uses gulp as its build system and Bower to manage front-end packages.
From the command line in the theme directory:
- Install gulp and Bower globally with
npm install -g gulp bower
- Navigate to the theme directory
/wp-content/themes/wp/
- Run
npm install
- Run
bower install
You now have all the necessary dependencies to run the build process.
gulp
— Compile and optimize the files in your assets directorygulp watch
— Compile assets when file changes are madegulp --production
— Compile assets for production (no source maps).
Edit lib/setup.php
to enable or disable theme features, setup navigation menus, post thumbnail sizes, post formats, and sidebars.
Sage documentation is available at https://roots.io/sage/docs/.
- gulp build script that compiles both Sass and Less, checks for JavaScript errors, optimizes images, and concatenates and minifies files
- Bower for front-end package management
- asset-builder for the JSON file based asset pipeline
- Bootstrap
- BrowserSync for keeping multiple browsers and devices synchronized while testing, along with injecting updated CSS and JS into your browser while you're developing
Name | Website |
---|---|
All-in-One WP Migration | Servmask |
Custom Post Type UI | Custom Post Type UI |
Advanced Custom Fields | Advanced Custom Fields |
Beaver Builder | Beaver Builder |
Export & Import WP data to an open source archive format (.wpress
).
Create and manage custom post types and taxonomies in WordPress.
Allows you to add extra content fields to your WordPress edit screens.
A flexible drag and drop page builder that works on the front end of your WordPress website.