Make sure you have yo installed:
npm install -g yo
Install the generator-odin
:
npm install -g generator-odin
And now generate your theme based on Odin Framework:
cd /path/to/wordpress/wp-content/themes/theme-name
yo odin
Test for development:
git clone git@github.com:wpbrasil/generator-odin.git
cd generator-odin
[sudo] npm link
cd /path/to/your/project/
yo odin
And send a Pull Request o/
- Updated the Odin version to 2.1.5.
- Updated the Odin version to 2.1.3.
- Updated the Odin version to 2.1.2.
- Removed Yeoman welcome message and added a custom message.
- Updated the generator settings.
- Added inline documentation.
- Fixed indentation size.
- Added validation for URIs in settings method.
- Initial release.
Copyright 2013 - WordPress Brasil Group.
The PHP code is licensed with GPLv2.