wflux_sidebar_1_display

Description Show/hide the primary sidebar. Also removes all core Wonderflux CSS surrounding the sidebar, along with setting the main content area to full width. Default value Y Accepted values Text string: Y or N Example <?php //Example 1 //Simple example...

View

WF_ADMIN_ACCESS

Description Controls visibility and access of the entire Wonderflux menu system, including sub-pages. Parameters Various – please see examples below. Example <?php //In your child theme functions.php file: //Example 1 // For multiple user ID's (1 and 4) define('WF_ADMIN_ACCESS', serialize(array('1','4')));...

View

wflux_content_1_display

Description Show/hide the main content area. Default value Y Accepted values Text string: Y or N Example <?php //Example 1 //Simple example in your child theme functions.php file: add_filter ('wflux_content_1_display','wfx__N'); // Example 2 //Conditional example in your child theme functions.php...

View

WF_THEME_FRAMEWORK_REPLACE

Description Setting this constant in your child theme stops all core Wonderflux CSS files loading in the <head> of your site output: wf-css-core-structure.css wf-css-dynamic-columns.php wf-css-dynamic-core-ie.php (conditional display) IMPORTANT – When using this constant, Wonderflux will automatically try and load the...

View

wfx_get_sidebar

Description A direct replacement for the WordPress get_sidebar() function. Includes the get_sidebar() function, but extends functionality to include core Wonderflux functionality to conditionally show or hide the sidebar (controllable through the wflux_sidebar_1_display filter). Parameters Single parameter to include a named...

View

wfx__Y

Description Returns the text string Y – nothing more, nothing less. Useful for setting values for filters to save having to create a function. Parameters None. Return values Y Example <?php //Example 1 //In your child theme functions.php file: //Show...

View

wfx__N

Description Returns the text string N – nothing more, nothing less. Useful for setting values for filters to save having to create a function. Parameters None. Return values N Example <?php //Example 1 //In your child theme functions.php file: //Hide...

View