Alter Page Subheading

function my_remove_author_subheading( $subheading ) {
    // Set subheading to empty for author archive
    if ( is_author() ) {
        $subheading = '';
    // Return the subheading
    return $subheading;
add_filter( 'ocean_post_subheading', 'my_remove_author_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.