This file is location aware

Location aware files usually have -content in their file name (note that loop.php doesn't). They are optional files that are displayed in certain locations in your site - for instance a page view.

You can use the following optional header-content.php template parts in your Wonderflux child theme. They will only be used when viewing the specific location in your website. Note that if the location aware file doesn’t exist in child theme directory, header-content.php will be used instead, allowing for quick and easy overrides for certain locations.

Homepage (posts or static page) view: header-content-home.php

Category view: header-content-category.php

Tag view: header-content-tag.php

Search results view: header-content-search.php

Date archive view: header-content-date.php

Author view: header-content-author.php

Taxonomy view: header-content-taxonomy.php

Archive view: header-content-archive.php

Attachment view: header-content-attachment.php

Single post view: header-content-single.php

Page view: header-content-page.php

404 view: header-content-404.php


This is an important Wonderflux theme file – it is a template part that is included when header.php is used. It is specifically designed to separate the actual layout content from the main theme PHP and layout code. This simplifies theme design as it only contains the actual display content.


None available yet.

This file documentation was last modified on: August 13, 2011 by Jonny