Convert Any Theme to Support LoopBuddy
Note: The details provided here are based on a WebDesign.com training webinar that occurred on September 17th, 2012.
In order to convert a theme to support LoopBuddy, it must support the loop-standard. The loop-standard is based on a proposal by Chris Jean which can be found here.
For a theme to support the loop-standard, there are three main steps:
- Add the necessary code support in the theme's functions.php file. Details can be found here.
- Modify the theme's files that provide The Loop to be wrapped in a conditional that allows them to be replaced by LoopBuddy. Details can be found here.
- The theme's styling will likely need to be updated to support the HTML structure used by LoopBuddy. An example of the structure of The Loop output by LoopBuddy can be found on slide 17 of this presentation. Note that the slide shows all the potential areas that can be output; each Loop may have different sections available depending on the setup of the Loop structure in LoopBuddy.