skip to Main Content

Disable Page Header Title on ALL Pages

function my_disable_page_header( $bool ) {
	if ( is_page() ) {
		$bool = false; // this will allow meta options to work still
	}
	return $bool;
}
add_filter( 'wpex_display_page_header', 'my_disable_page_header' );
All PHP snippets should be added via child theme's functions.php file or via a plugin (we recommend Code Snippets)
Back To Top