Remove the Shop Page Subheading

// Remove the Shop page subheading
function my_remove_shop_page_header_subheading( $subheading ) {
 
    if ( is_shop() ) {
        $subheading = false;
    }
 
    // Return the subheading
    return $subheading;
    
}
add_filter( 'ocean_post_subheading', 'my_remove_shop_page_header_subheading' );

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.