Simple theme which includes some of the most common theme elements found in most of the WordPress sites we do. Includes mechanisms to easily add styles and scripts through the built-in wordpress functions.
This theme relies on Twitter's Bootstrap framework. The Boostrap project (http://github.com/twitter/bootstrap) is added as submodule in static/bootstrap. To compile bootstrap:
- If this is a brand new clone, run
git submodule update --init static/bootstrap - Install the depenencies in the Developers section of the Boostrap README
- Checkout the latest tag of Bootstrap
- Run
make bootstrapfrom the static/bootstrap directory
If you are making significant changes to Bootstrap (i.e. updating variables.less), create a branch on our Bootstrap branch to store the changes.
Custom post type definitions are located in custom-post-types.php. Each definition should inherit (eventually) from the abstract CustomPostType class. Register or unregister custom post types by modiyfing the $Config::custom_post_types array in function/config.php ~ line 114.
Similar organization to custom post types. Register a custom taxonomy with a custom post type by modifying the taxonomies array on the custom post type object.