I’ve started to get much more serious about WordPress themes. For me that means making them from scratch instead of modifying someone else’s theme. Traditionally, I just purchased a template and modified it. Now I’m starting to work with good designers and working from scratch.
Started with “Automattic _s”:https://github.com/automattic/_s/ One of the challenges is that I’m used to amazing tools from my work with Ruby. Things like sprockets, compass, and asset packing tools.
While I can set up compass to pull together my css
compass create compass_ptp_nova -r bootstrap-sass --using bootstrap Which gives me a structure like: https://gist.github.com/6877682 Now, I also wanted to minify my js
https://gist.github.com/anonymous/6877039 Which I then had to add to:
wp_enqueue_script( 'minified_js', get_template_directory_uri() . '/js.min.js', array(), '20131006', true); “helpful tutorial”:http://technosailor.com/2011/11/02/tutorial-using-sass-and-compass-for-managing-css-in-wordpress/