Use Alfred to set up a WordPress theme based on _s and Twitter Bootstrap

I said a long time ago that I would never use another theme framework now that I have Museum Core.  Well, unfortunately for me, WordCamp SLC — particularly the presentations of Jake Spurlock, George Ortiz and Patrick Cox, as well as working on the theme which was based on _s — changed my mind on that.  I now think that the best solution for jumpstarting a new theme project is a combination of Twitter Bootstrap and _s.

But this post isn’t about what makes those two frameworks awesome (you can read about that on their respective sites, or just Google _s and Twitter Bootstrap for awesomesause).  I just wanted to share a quick Alfred extension I made that will setup a WordPress theme based on the _s theme framework that also loads Twitter Bootstrap assets into your theme’s directory.  Note: this doesn’t enqueue any of the styles or javascript.  I may add that later.  For now, this just sets up the directories and pulls the latest versions of each framework from their GitHub repositories.  It will also initialize a Git repo if you want to use Git for version control for your theme.  (Note for the uninitiated: Alfred Extensions require the Powerpack.)

Download the extension


Posted

in

by

Comments

2 responses to “Use Alfred to set up a WordPress theme based on _s and Twitter Bootstrap”

    1. chris reynolds Avatar

      Nice! I’d probably still want to tweak it before I used it for anything, but there are a few repetitive tasks in integrating _s with Bootstrap. Though that’s all still sort of besides the point of this post which is my cool Alfred extension that grabs the latest _s and Bootstrap (which this still probably wouldn’t solve). What would be cool (and I may get fed up enough to try it) would be to have an Alfred extension that fetched the latest _s and Bootstrap AND ALSO did all the stuff to make them play nice together. :)

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.