Understanding the different index pages and what they do


show more Understanding the different index pages and what they do provides you with in-depth training on Web. Taught by Morten Rand-Hendriksen as part of the WordPress 3: Building Child Themes show less
please wait ...

Understanding the different index pages and what they do

One of the key components of any WordPress site is the index pages. Simply put, an index page shows a list of posts from the site depending on what you're asking for. The most well-known of the index pages is the blog page, which displays all the posts of the site in reverse chorological order. Other index pages include category index and archive indexes. The index pages in a WordPress theme or child theme live in a hierarchy and kick in at different times. Understanding which index page template handles and displays what content will help you customize the look and feel of your site and also avoid a lot of frustration when things don't display the way you intended.

If you look at this graphic of the WordPress template hierarchy, you can see how the different index pages kick in and when they kick in. What happens when you display any page in WordPress is the database and the browser cooperate to figure out what template to use. For example, if we're looking at a category page...

Understanding the different index pages and what they do
Video duration: 4m 6s 3h 11m Intermediate Updated Nov 27, 2012

Viewers:

Understanding the different index pages and what they do provides you with in-depth training on Web. Taught by Morten Rand-Hendriksen as part of the WordPress 3: Building Child Themes

Subject:
Web
Software:
WordPress
Author:
please wait ...