Archived topic
How to remove all Single Post title in functions.php
1 reply · Started by John Lester on December 24, 2020
Viewing posts 1–2 of 2
// Remove Content Title
add_action( 'after_setup_theme', 'tu_remove_title' );
function tu_remove_title() {
add_filter( 'generate_show_title', '__return_false' );
}
the code above also removes the blog archive title, I just want to remove the single post title.
Thanks
Hi there,
try the snippet Tom provides here:
https://generatepress.com/forums/topic/archive-post-titles-gone-after-upgrade/#post-1509924
This archived topic is closed to new replies.