You are browsing the category: The Loop
The WordPress Loop: The engine behind the Platform
Customizing the Wordpress Loop for the Single Post
Posted on 10/09/2009 at 5:35 pm by MikeLTWhile the home page of a blog is generally meant to show off a number of the most recent posts, each actual blog entry, or post, is stored in its own table in the database, and when retrieved resides on its own page.
Defining the Home Page
Posted on 10/07/2009 at 7:48 pm by MikeLTIn the main hierarchy of things, the first page to load when someone clicks on a link to your domain would be index.php. This is the template file that we used to create the look, feel, and functionality of our theme in general, and is and should remain the template from which all subsequent templates splinter.
Having recognized that the first page to load should be as customizable as any other page, Wordpress developers have allowed the template file home.php to take precedence over index.php as the home page.
Contemplating the Template Hierarchy
Posted on at 4:54 pm by MikeLTBefore we delve further into the template hierarchy, it is important that we understand the most important part of the Wordpress platform, the part that allows us to differentiate between these files, and the engine behind it all: a relatively small piece of coding known as “the loop”.



