Skip to content

oknoway/matter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

matter

A WordPress starter-theme generator for Yeoman.

Inspired by:

Build Requirements

Installing

Once you have NodeJS & NPM installed, all other requirements can be installed with:

npm install -g bower browser-sync grunt-cli node-sass yo

Install matter:

npm install -g git+ssh://git@github.com:oknoway/matter.git

Generate your theme

cd to your WordPress themes directory and initiate the generator:

yo matter

Once installation is finished, cd to your new theme directory and run grunt.

Post Types & Taxonomies

This is a great time to add any custom post types and taxonomies. If you install WP-CLI, you can quickly generate post types and taxonomies with the following commands, answering Y to --theme and n to --raw:

  • Post Types: wp scaffold post-type --prompt
  • Taxonomies: wp scaffold taxonomy --prompt

TODO

  • Prompts for:
    • Post Types
    • Taxonomies
    • Sidebars
    • Widgets
    • Nav Menus
  • SubGenerators
    • neato

Contributing

Please fork, change and pull request!

To setup matter for development, first uninstall from matter from npm:

npm uninstall -g generator-matter

Clone the generator to the directory of your choosing (use your fork for the repo URL, if you have one):

git clone git@github.com:oknoway/matter.git

cd into that directory and run:

npm link

License

GPL2

About

A WordPress starter-theme generator for Yeoman, inspired by _s and HTML5 Boilerplate.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors