Home › Forums › Support › Show titles on single blog pages although "generate_show_title" filter is used This topic has 3 replies, 2 voices, and was last updated 4 years, 2 months ago by David. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts February 19, 2020 at 5:10 am #1170162 Jan Hi, I used the “generate_show_title” filter and page titles are not shown on standard pages. But now I need titles to be displayed on single blog pages only. Is there any way to exclude blog pages from the filter? Thanks Jan February 19, 2020 at 6:34 am #1170256 DavidStaff Customer Support Hi there, you could use a conditional tag in your function, this will apply only if its a Page: add_action( 'wp', function() { if ( is_page() ) { add_filter( 'generate_show_title', '__return_false' ); } } ); Some other conditions here: https://docs.generatepress.com/article/using-hooks-conditional-tags/ OR you can use the Layout Element to disable the Content Title https://docs.generatepress.com/article/layout-element-overview/ February 19, 2020 at 7:05 am #1170466 Jan Thanks David, worked like a charm… Jan February 19, 2020 at 7:52 am #1170534 DavidStaff Customer Support You’re welcome Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In