Wordpress Starter

Wordpress Starter

View the Project on GitHub alexsancho/wordpress-starter

Wordpress Starter

This Compass extension provides support for creating WordPress Themes using Sass.

Installing

[sudo] gem install wordpress-starter

To install a theme into your existing compass project, add the following to your compass configuration file:

require 'wordpress-starter'

Or, just run this command:

compass -r wordpress-starter -f wordpress -s compressed /path/to/installation

What this does is call compass, requires the wordpress-starter extension, uses the framework wordpress, sets the Sass output to be compressed and finally ends with you setting the theme name.

Available patterns

There are some available patterns:

The default pattern creates a basic theme

compass -r wordpress-starter -f wordpress /path/to/installation

this theme comes bundled with a few features that makes easier to start:

The foundation pattern contains a basic theme based on Zurb's Foundation framework

compass -r wordpress-starter -f wordpress/foundation /path/to/installation

this theme comes bundled with a few features that makes easier to start:

The boostrap pattern contains a basic theme based on Twitter Boostrap framework

this theme comes bundled with a few features that makes easier to start:

The starter pattern contains the Automattic starter theme _s http://underscores.me/

compass -r wordpress-starter -f wordpress/starter /path/to/installation

All the code included tries to follow the WordPress coding standards

Dependencies

Note on Patches/Pull Requests

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request