Page titles are hidden globally. How to enable?

Hello,

In my website page titles are hidden globally. I can’t find why or how to enable?
Option to hide title in “page edit” are unticked in all pages.

Also, there is nothing in global CSS that will hide page titles. I am using default template for pages.

Could you please help me find it?

Thanks,

Mariano

Hi Mariano,

Thank you for writing in, I see that you mentioned above that the “Disable Page Title” is not tick, but can you confirm that one more time and re-save the page?

If the issue persists please do a testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

Let us know how it goes,
Cheers!

Thanks for your reply Friech.

  1. Correct - It is not ticked (ticked/saved -> tested - Untick/saved -> tested = same result)
  2. Disabled all plugins and same result
  3. Activated Twenty Fifteen theme and title appears. it might be something I did in Pro, but I can’t find it :neutral_face:

Hi There,

Thank you for writing in, so the site is in Renew stack (I thought it was Integrity). Renew stack does not output page titles when using the default templates, It does however have the page title on the Landmark section when you’re using a Blank template. Landmark section is inside the Header/Masthead so if you’re using a Custom Header that Landmark won’t show either.

You can add this on your child theme’s functions.php file to show a page title.

/*Adding title to renew pages*/
function add_title() {
  if(is_singular('page')) { ?>
         <header class="entry-header mbm">
            <h1 class="entry-title"><?php the_title(); ?></h1>
          </header>
 <?php }
}
add_action( 'x_before_the_content_begin', 'add_title', 10 );

Hope this shed some lights,
Cheers!

It worked like a charm! Thank you very much friech! :slight_smile:

Except that this seems to add title to all pages and I can’t disable title in some pages by ticking the disable title box (for example in home page).

Is it possible to keep this tick working so I can disable in some pages if needed?

Hi There,

When using Pro headers, the title is not available . We’re planning to address this issue by adding a headline element that will automatically pull current page title. We just can’t promise an ETA for this. For the mean time, we can hide it for pages by using this custom CSS:

  .page-id-1 .entry-header,
  .page-id-2 .entry-header {
     display: none;
 }

Change page id to your corresponding page ID where you want it to be hidden. The ticking option is just available on pages where you’re using legacy headers.

Hope this helps.

2 Likes

thank you Lely

Glad we could help.

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.