Archived topic
Disable Content title for CPT Archive and Custom Taxonomy
2 replies · Started by melvin on June 3, 2021
Viewing posts 1–3 of 3
Hi,
I would like to disable Content Title for my CPT archive and Custom Taxonomy Archieve.
I've tried to use element to disable to fail. https://imgur.com/a/ps9V58T
What's the correct way to do so?
Thanks
Melvin
I've found this code from the support forum to remove archive title
add_action( 'wp', 'lh_remove_archive_title' );
function lh_remove_archive_title() {
remove_action( 'generate_archive_title', 'generate_archive_title' );
}
Thanks ya
Glad you figured it out :)
This archived topic is closed to new replies.