• Resolved Wasim

    (@thewasimofficial)


    I want to hide the entire Page Title section from the blog post pages globally because it is not possible to go through each post one by one and disable the post title section using the OceanWP Metabox which I have done for the normal pages.

    Kindly help me out to fix this issue.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Add the below code to the fucntions.php file of the oceanwp child theme to disable it –

    function disable_title( $return ) {
        if ( is_singular( 'post') ) {
            $return = false;
        }
        return $return;
    }
    add_filter( 'ocean_display_page_header', 'disable_title' );
    Thread Starter Wasim

    (@thewasimofficial)

    It means the theme doesn’t have this feature inbuilt.

    However, thank you very much Amit, it worked perfectly fine for me ??

    Yes, we don’t have global settings for it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I want to hide the Page Title section from the blog post page globally’ is closed to new replies.