A basic WordPress Theme Generator for Yeoman
Install Yeoman and the Generator
$ npm i -g yeoman generator-wp-theme-scaffold
After installing and configuring your local WordPress, create your theme folder on wp-content/themes
directory.
After that, inside your theme's folder, run the Generator.
$ yo wp-theme-scaffold
Enter on the theme's folder and run Grunt.
$ grunt
To deploy your theme files, just run grunt deploy
, but first you'll have to configure FTP access, setting username
and password
in .ftppass
file;
MIT