Understanding the WordPress template hierarchy


show more Understanding the WordPress template hierarchy 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 WordPress template hierarchy

Before we dive deeper into the world of WordPress themes, it's important that you have an understanding of how WordPress operates and how the different pages of your website are created. WordPress is a web application that interacts with a database. That means the constant you enter when you create a new post or a new page doesn't live in the website itself. The content lives in a database and it's only displayed using templates when the visitor asks for that content. A theme is a collection of templates WordPress uses to display the database content.

Because of the structure, the database contains to content and the theme decides how that content is going to be displayed on the website. When you change your theme, you're changing the way the content is displayed without changing the content in the process. Now when I say template, it's a bit of misnomer because a theme in WordPress doesn't work with one file per type of content. Instead, any page you se...

Understanding the WordPress template hierarchy
Video duration: 3m 12s 3h 11m Intermediate Updated Nov 27, 2012

Viewers:

Understanding the WordPress template hierarchy 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 ...