Which Template Wins
A page shows one header, one footer and one layout. When several templates of the same kind match, the plugin decides in this order:
- The choice of the page. A post or page that picked a template in its Theme Builder box uses that one – or the theme’s own part with None (theme default).
- Exclusions. A template with a matching Exclude rule drops out.
- The most specific condition. Of the remaining templates the one with the most specific matching condition wins.
- The newest template. When two templates are equally specific, the last modified one wins.
How specific is a condition
From the most general to the most specific:
| Level | Conditions |
|---|---|
| 1 – everything | Entire site |
| 2 – a group | All singular, All archives |
| 3 – a kind of content | Posts, Pages, Categories, Tags, Author archive, Date archive, custom post type archives |
| 4 – narrower | Posts by author, Blog (posts page), Search results |
| 5 – by terms | Posts in Category, Posts in Tag |
| 6 – one page | Front page, 404 page |
A condition limited to specific items (chosen posts, categories or authors) is more specific than the same condition for all items.
So you never need to exclude a page from the main header just to give it another one: a header with Pages › About us wins over the header for the Entire site by itself.