Here is how to remove the page title from single custom post types in OceanWP. Just replace “podcasts” with the name of your custom post type:

// Disable page title on single posts
function disable_title( $return ) {
    if ( is_singular( 'podcasts') ) {
        $return = false;
    }
    return $return
}
add_filter( 'ocean_display_page_header', 'disable_title' );

Leave a Reply

Get in Touch

Please fill out the form below and we will get back to you ASAP

  • This field is for validation purposes and should be left unchanged.