Disable the Page Title on Single Blog Posts

This is a Developer Level doc.

If you're unfamiliar with PHP and/or editing files, codes and templates, as well as with resolving possible conflict, please seek help from a professional. Under our Support Policy, we don't provide support for modifications and customization.

If you wish to disable/remove the Page Title on your Single Blog Post Articles on a global level (assuming the Page Title is enabled: Appearance > Customize > General Options > Page Title), use the following PHP snippet:

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

All PHP snippets should be added via a child theme's functions.php file.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.