[ad_1]
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?