header.php

Description This is the core header theme file. Template Parts This file uses the template part header-content.php which is location aware. Notes If you wish to create your own to over ride this file in your child theme – copy...

View

WF_THEME_DIR

Description Defines the full server path to the current child theme directory without a trailing /. Parameters string – Your full path to the current directory on the server. STYLESHEETPATH – Default. Example <?php //Example 1 // Define path to...

View

header-content.php

Description 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...

View

wfheader_before_wrapper

Description Directly after opening the main wrapper <div> that positions the site. Before the header wrapper <div>. Example <?php //Example 1 //In your child theme functions.php file: function my_wfx_example_function(){ echo '<!--my code-->'; } add_action ('wfheader_before_wrapper','my_wfx_example_function'); ?> Notes None available...

View

wfheader_before_container

Description After opening the main header wrapper <div>. Before the opening of the header container <div class="container" id="header-content">. Example <?php //Example 1 //In your child theme functions.php file: function my_wfx_example_function(){ echo '<!--my code-->'; } add_action ('wfheader_before_container','my_wfx_example_function'); ?> Notes None available...

View

wfheader_before_content

Description After <div class="container" id="header-content"> – the core header container using the master site width dimension. Before the header-content.php template part, used to display the core header content. Example <?php //Example 1 //In your child theme functions.php file: function my_wfx_example_function(){...

View

wfheader_after_content

Description After the header-content.php template part, used to display the core header content. Before closing </div> of <div class="container" id="header-content"> – the core header container using the master site width dimension. Example <?php //Example 1 //In your child theme functions.php...

View

wfheader_after_container

Description After the closing </div> of <div class="container" id="header-content"> – the core header container using the master site width dimension. Example <?php //Example 1 //In your child theme functions.php file: function my_wfx_example_function(){ echo '<!--my code-->'; } add_action ('wfheader_after_container','my_wfx_example_function'); ?> Notes...

View

wfheader_after_wrapper

Description The last hook in header.php core Wonderflux theme file, directly after the wrapper div that contains the header. Example <?php //Example 1 //In your child theme functions.php file: function my_wfx_example_function(){ echo '<!--my code-->'; } add_action ('wfheader_after_wrapper','my_wfx_example_function'); ?> Notes Useful...

View