Snippet: Disable The “Page Header” For Portfolio Items
// Disable The "Page Header" For Portfolio Items
add_filter( 'totaltheme/page/header/is_enabled', function( $return ) {
if ( is_singular( 'portfolio' ) ) {
return false;
}
return $return;
}, 20 );
All PHP snippets should be added via child theme's functions.php file or via a plugin (we recommend WPCode)