Creating the Starting Files for Your WordPress Theme Framework
In this tutorial you'll take a basic theme and edit the template files so they're ready for hooks and functions to be added to them for your framework. The purpose of this tutorial is to tidy up the theme so that code isn't duplicated, which means you'll be creating include files for the loop. This means you won't have to create duplicate loops in your child themes when you create new template files, and if you need to edit the loop you only have to do it once.
Continue Reading http://code.tutsplus.com
Join the Discussion