Thanks D.K.
The url is thedigitalhealthclub.com; trying to put a different header on this page http://thedigitalhealthclub.com/?page_id=949.
No clue on how to attach a file here so I’ve pasted the landing page custom_functions test below.
/*LANDING PAGE*/
function custom_body_classes($classes) {
$classes[] = “landing-page”;
return $classes;
}
function custom_remove_defaults($content) {
return false;
}
register_sidebars(2,
array(
‘name’ => ‘Landing Page %d’,
‘id’ => ‘landing-page-$i’,
‘before_widget’ => ”,
‘after_widget’ => ”,
‘before_title’ => ”,
‘after_title’ => ”
)
);
function landing_page_sidebar() {
?>
post->ID, ‘landing-page’, true);
if ($landing) {
// remove unwanted sections
// add_filter(‘thesis_show_header’, ‘custom_remove_defaults’);
add_filter(‘thesis_show_sidebars’, ‘custom_remove_defaults’);
add_filter(‘thesis_show_footer’, ‘custom_remove_defaults’);
//add custom body class
add_filter(‘thesis_body_classes’,'custom_body_classes’);
//add new header
add_action(‘thesis_hook_header’,'landing_page_header’);
// add new sidebars
add_action(‘thesis_hook_after_content’,'landing_page_sidebar’);
remove_action(‘thesis_hook_header’, ‘thesis_default_header’);
add_action(‘thesis_hook_header’, ‘landing_page_header’);
}
}
add_action(‘template_redirect’,'apply_custom_filters’);