Header hierarchy in WordPress?
-
Hi,
I have a simple question regarding the WordPress template hierarchy.
I know WordPress has a template hierarchy which allows to automatically override the template to be used when loading a page. Now I would like to know if such a hierarchy also is being applied on the header.php file.
I have a theme with a template file called ‘tpl-ads-home.php’ and ‘header-tpl-ads-home.php’. Does this ‘header-tpl-ads-home.php’ file has a higher priority than ‘header.php’ file (because of hierarchy) for pages that have the ‘tpl-ads-home.php’ template?Thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Header hierarchy in WordPress?’ is closed to new replies.