Page titles on default template

I’ve read that the default template supports showing the page title, but I can’t seem to get it to work. I’ve made sure the page title setting is turned on on the page, but it doesn’t show. I’ve tried a few templates including Default template and Layout-content left, but neither show the title. Here’s a link: http://welchsharks.com/calendar/

Thanks for the help.

Adam

Hi There,

You’re using the Renew stack, it 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_page_template() ) { ?>
         <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!

1 Like

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