• Resolved dukearmi

    (@dukearmi)


    I’m using this snippet to remove the author and category archives page title:

    add_action( 'wp', function() {
        if ( is_author() || is_category() ) {
            remove_action( 'generate_archive_title', 'generate_archive_title' );
        }
    } );

    But it also remove the description or info, how can I remove the archive title but keep the description?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove Archive Title but Keep Category Description or Author Info’ is closed to new replies.