/** * * Setup some Wonderflux layout options * */ function my_wfx_layout() { // Configure background divs as required wfx_background_divs('depth=1&location=site'); wfx_background_divs('depth=1&location=main'); wfx_background_divs('depth=2&location=header'); wfx_background_divs('depth=3&location=footer'); // Remove the sidebar using filter //layout div's around main content adapt automatically - cool! //add_filter('wflux_sidebar_1_display', 'wfx__N' ); // Inserts JQuery and Cycle Javascript //Configure using file js/cycle/jquery.cycle.config.js // Removed - need to make responsive with Cycle2 upgrade //wfx_js_cycle('config=theme'); }
/** * Adds '.wrapper' div around content blocks * Use for background styling without messing with template files. * ONLY USED WHEN WONDERFLUX ACTIVATED DIRECTLY. * * @since 2.0 * @version 2.0 * * @param none */ function wfx_core_default_wrappers() { // Add 'wrapper' divs around content //wfx_background_divs('depth=1&location=site'); wfx_background_divs('depth=1&location=header'); wfx_background_divs('depth=1&location=main'); wfx_background_divs('depth=1&location=footer'); }