? GITHUB: ★ 120 ⑂ 34 →
Deprecated in favor of WPGulp.
Read about My Advanced Gulp Workflow for WordPress Themes
git clone https://github.com/ahmadawais/advanced-gulp-wordpress.git
npm install
– This installs all the necessary Gulp plugins to help with task automation such as Sass compiling and browser-sync! You’ll need to run this step on each of your projects, going forward.npm install -g bower
. This installs Bower (the -g flag installs globally, not just in the current directory, super friends). Your only need to do this step once.gulp
command in the root folder of your theme and it will start generating CSS from Sass and everything elsegulp images
to optimize images and only place the images in assets/img/raw/
folder, they’ll moved toassets/img/
once optimizedgulp build
and your project.zip file will be created as well as a buildTheme
folder, where you can see what was zipped.Advanced Gulp WordPress was released under GPL v2.0.