Home › Forums › Support › Custom page header in taxonomy archive page › Reply To: Custom page header in taxonomy archive page
November 10, 2016 at 10:37 am
#243326
Tom
Lead Developer
Lead Developer
Just sent it to you.
This is what you would do:
add_filter( 'generate_get_blog_page_header','tu_global_page_header' );
function tu_global_page_header()
{
// Add your conditional to show the blog page header - is_home() is default
if ( is_home() )
return true;
// If the conditional isn't true, set it to false
return false;
}
Note to others: This will work as of GP Premium 1.2.92.