Dissecting WordPress Themes Part 2: The Loop

We continue our series on understanding themes by learning about the famous WordPress Loop. The Loop is responsible for retrieving posts from the database and displaying them on a web page. In addition to coding a basic Loop, we’ll look at several more template tags, style sheet linking, a few important WordPress configuration settings, and page navigation.

Dissecting WordPress Themes Part 1: Creating a Theme

The WordPress Theme is the skeleton and skin of your web site. Like a skeleton, a theme’s template files determine the structure of a site’s pages. And like skin wrapped around the skeleton, a theme’s style sheet determines its aesthetics. In the first article of this series on dissecting WordPress themes, we develop a simple “Trace” theme to aid in understanding the mechanics of the theme architecture and algorithms. We’ll look at what constitutes a valid theme and put together a few simple template files to build a valid HTML page. Regardless of your development language and platform, software development is aided in many ways by using a robust Integrated Development Environment. In this series I’ll be using my favorite open source IDE, NetBeans.