Skip to content

Snippet: Remove Portfolio Category and Tag Descriptions

add_filter( 'totaltheme/page/header/has_subheading', function( $check ) {
	if ( is_tax( 'portfolio_category' ) || is_tax( 'portfolio_tag' ) ) {
		$check = false;
	}
	return $check;
} );
All PHP snippets should be added via child theme's functions.php file or via a plugin. We recommend Code Snippets (100% Free) or WPCode (sponsored)
Back To Top