How to Completely Remove Archive Title a.k.a the_archive_title?

You can add the following function in the functions.php of your child theme. add_filter(‘get_the_archive_title’, ‘my_get_the_archive_title’ ); function my_get_the_archive_title( $title ) { if ( is_category() ) { $title = single_cat_title( ”, false ); } elseif ( is_tag() ) { $title = single_tag_title( ”, false ); } elseif ( is_author() ) { $title=”<span class=”vcard”>” . get_the_author() . … Read more

How can I noindex my archive pages?

This worked ok for me, putting this function into a vanilla build using TwentyTwenty? I see the output in the Head. Its very crude but inside your IF statement, add some form of simple debug, either var_dump() a string out or Javascript console.log. You’re testing to make sure the IF is activating when you think … Read more