Site logo

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

This archived topic is closed to new replies.