Title: Single Post Title Missing
Last modified: March 8, 2018

---

# Single Post Title Missing

 *  Resolved [hivewarrior](https://wordpress.org/support/users/hivewarrior/)
 * (@hivewarrior)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/single-post-title-missing/)
 * Hi folks!
 * For some unknown reason to me, the post title in single posts is missing. I´ve
   already checked other plugins by disabling them all and the problem remains. 
   Then I´ve tried changing the theme to one of the WordPress default, and voilá,
   it works.
 * So it is theme related for sure. Then I tried to put this piece of code in functions.
   php:
 * add_action( ‘after_setup_theme’,’tu_after_setup_theme’ );
    function tu_after_setup_theme(){
   add_filter( ‘generate_show_title’, ‘__return_true’ ); }
 * The problem is that I dont want the titles to show in other pages/category/archives.
   I also tried to disable the content title for each page in the settings but it
   seems that the php code override the page settings.
 * So I kindly ask you for any ideas and a good solution for my problem.
 * Thank you for your kind attention!
    -  This topic was modified 8 years, 2 months ago by [hivewarrior](https://wordpress.org/support/users/hivewarrior/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsingle-post-title-missing%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Theme Author [Tom](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/single-post-title-missing/#post-10055654)
 * Hi there,
 * So you only want the title to show on single posts?
 * If so, try this:
 *     ```
       add_action( 'after_setup_theme', 'tu_after_setup_theme' );
       function tu_after_setup_theme() {
           if ( ! is_single() ) {
               add_filter( 'generate_show_title', '__return_false' );
           }
       }
       ```
   
 * That should disable the title on everything but single posts 🙂
 *  Thread Starter [hivewarrior](https://wordpress.org/support/users/hivewarrior/)
 * (@hivewarrior)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/single-post-title-missing/#post-10057127)
 * Hi Tom!
 * Thank you for your fast reply!
 * However that code doesnt seem to work. You can check it here:
 * [http://moitaescola.toxicvideos.pt/em-conversa-com-david-jesus-grupo-jose-avillez/](http://moitaescola.toxicvideos.pt/em-conversa-com-david-jesus-grupo-jose-avillez/)
   
   [http://moitaescola.toxicvideos.pt/agarre-em-si-e-invista-no-seu-futuro/](http://moitaescola.toxicvideos.pt/agarre-em-si-e-invista-no-seu-futuro/)
   [http://moitaescola.toxicvideos.pt/projetos-com-viabilidade-nas-pap-de-energias-renovaveis/](http://moitaescola.toxicvideos.pt/projetos-com-viabilidade-nas-pap-de-energias-renovaveis/)
 * If I change “false” to “true” the title display on all pages.
 * What could be wrong here?
 *  Theme Author [Tom](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/single-post-title-missing/#post-10059463)
 * Is the Disable Elements metabox being used to disable the content title on those
   posts?
 * In the code above, try replacing `after_setup_theme` with `wp`.
 * add_action( ‘wp’, ‘tu_after_setup_theme’ );
    function tu_after_setup_theme() {
   if ( ! is_single() ) { add_filter( ‘generate_show_title’, ‘__return_false’ );}}
 *  Thread Starter [hivewarrior](https://wordpress.org/support/users/hivewarrior/)
 * (@hivewarrior)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/single-post-title-missing/#post-10060385)
 * Hi Tom!
 * That´s it! I completely forgot to check the articles Disable Title metabox in
   the first place!
    So sorry, my bad.
 * Thank you for your excellent support! I will leave a well deserved review.
 * All the best Tom!
 *  Theme Author [Tom](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/single-post-title-missing/#post-10061710)
 * No problem! Glad I could help 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Single Post Title Missing’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/generatepress/3.6.1/screenshot.
   png)
 * GeneratePress
 * [Support Threads](https://wordpress.org/support/theme/generatepress/)
 * [Active Topics](https://wordpress.org/support/theme/generatepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/generatepress/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/generatepress/reviews/)

## Tags

 * [single post title](https://wordpress.org/support/topic-tag/single-post-title/)
 * [title missing](https://wordpress.org/support/topic-tag/title-missing/)

 * 5 replies
 * 2 participants
 * Last reply from: [Tom](https://wordpress.org/support/users/edge22/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/single-post-title-missing/#post-10061710)
 * Status: resolved