Simple base for creating Wordpress themes, based on HTML5 BOILERPLATE 5.2.0 (http://html5boilerplate.com/)
Uses LESS (http://lesscss.org/) as CSS pre-processor and relies on wp-less plugin (https://github.com/oncletom/wp-less)
- wp-less - https://github.com/oncletom/wp-less
- Copy this bootstrap to
wp-content/themes/your-theme(and remove this readme) - Install & activate wp-less (https://github.com/oncletom/wp-less)
- ...
- Profit, start implementing your functionality!
- Don't forget to create actual screenshot.png
assets/less/style.less- the main theme style, includes all css components and modules via @import. Made so to serve all styles in a single minified file. This file is enqueued infunctions/enqueue.phpand then handled by wp-less.assets/less/components- put here your styles and then import in style.less, or use existing structureassets/js- your custom javascript goes hereassets/vendor- put external js libs herefunctions/- everything from this folder is reqired_once in functions.php, made so to break functions into smaller filesstyle.css- here you put your theme details (http://codex.wordpress.org/Theme_Development#Theme_Stylesheet)- Enqueue your styles and scripts in
functions/enqueue.php