This is me. I push pixels at Google, write words on Medium and spill thoughts on Twitter.

©2017 Your Name

/**
* Override the Settings of BB Header Footer on specific page.
*
* @param String|int $setting Setting output.
* @return String|int Modified Setting output.
*/
function your_prefix_disable_bbhf_settings( $setting ) {

// Change this to the ID of your page.
// Refer WordPress template tags for more advanced conditions - https://codex.wordpress.org/Template_Tags
if ( 41 == get_the_ID() ) {
$setting = '';
}

return $setting;
}

// Disable Header.
add_filter( 'bhf_setting_bb_header_id', 'your_prefix_disable_bbhf_settings' );

// Disable Footer.
add_filter( 'bhf_setting_bb_footer_id', 'your_prefix_disable_bbhf_settings' );





Condividi: