Convert Any Theme to Support LoopBuddy

From iThemes Codex
Jump to: navigation, search

Note: The details provided here are based on a 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:

  1. Add the necessary code support in the theme's functions.php file. Details can be found here.
  2. 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.
  3. 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.

← Back to LoopBuddy Codex Home