Home › Forums › Support › How to add post title This topic has 5 replies, 3 voices, and was last updated 5 years, 9 months ago by David. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts June 26, 2018 at 9:03 am #609135 Amit Nair Hello, I want to add post titles in all posts. I dont want any title on pages though. Currently only the home page with thumbnails shows the post title. Please help. How can I do it? June 26, 2018 at 11:18 am #609242 LeoStaff Customer Support Hi there, Post title should be added by default unless you are using this snippet: https://docs.generatepress.com/article/generate_show_title/ Can you double check? June 26, 2018 at 11:34 am #609254 Amit Nair Hi Leo, I am not sure if I added that code. I dont even remember how to check it. But I remember, I was seeing the titles even for pages which I never wanted. Now I don’t see titles for anything. I actually want titles only for posts and not pages. Regards, June 26, 2018 at 12:08 pm #609270 LeoStaff Customer Support If you did then I think it would’ve been one of these methods: https://docs.generatepress.com/article/adding-php/ June 26, 2018 at 11:38 pm #609554 Amit Nair Hi Leo, That’s right. I have used the snippets plugin and inserted the below code. add_action( ‘after_setup_theme’, ‘tu_remove_all_titles’ ); function tu_remove_all_titles() { add_filter( ‘generate_show_title’, ‘__return_false’ ); } I had done this to remove titles from pages. But I need the titles for posts. How can we achieve this? June 27, 2018 at 4:39 am #609703 DavidStaff Customer Support Hi there, the simplest method would be to remove the code and use the Disable Elements meta to remove the title on your pages: https://docs.generatepress.com/article/disable-elements-overview/ Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In