Banner

template hierarchy wordpress tutorial

WordPress Tutorials

The template hierarchy in wordpress

The template hierarchy in wordpress

When a user visits your site and navigates to a page, WordPress uses a system called the Template Hierarchy to figure out which file in the active theme should be used to render the page. For example, if the user browses to a single post page, WordPress will look for single-post.php. If that’s not found, it will look for single.php. If that’s not found it will look for index.php. (more…)

Read more »
Banner