You’ll probably need to ask the provider of your template for help with this.
My best guess would be that the modified header directives would superimpose over the standard header as the theme page asks for that (or not).
That’s not really a hierarchy but would be more of a ‘require’ with a possible ‘if-then’ statement triggering that.
By reading the raw template file you can sometimes figure that out. Sometimes it gets buried and/or obfuscated so much that you can’t tell. Especially when looking from the web server’s output by looking from the web browser.
You can look by using CTRL-U in the web-browser and I encourage you to do so. That’s when a webpage often ‘gives up its secrets’.
All real website intelligence is found in the raw headers. Some of my own are hilarious.
Thanks. I know a theme could require any header they want. I want to know though if this is a native WP hierarchy funtion.
The get_header() command can take a parameter to specify a different header. Example get_header() would get the file header.php get_header(‘foobar’) would get the header header-foobar.php. You probably have a template that uses the get_header() command to load a different header.
- This reply was modified 6 days, 14 hours ago by mrtom414.
Awesome, thanks for the clarification!