Page titles not appearing on any pages

Site is running the latest version of Pro. Site URL in private note.

I can’t get any of the page title to appear on the pages.

The site is set up as a simple fullwidth, content left/sidebar right layout. The pages are using the default template. There is a global custom header.

Is there a global setting that I’ve missed to enable page titles to be displayed?

Thanks.

Hi There,

Thanks for writing in!
In renew, the page titles were displayed in the landmark header. Since you are using a custom header, the landmark header were replaced with the header instead. If you still want to display the page title while the custom header is on, please do the following steps below:
1] Using Notepad or TextEdit or Sublime Text or any text editor, please create a new file in your local machine.
2] Insert the following code into that new file

<?php

// =============================================================================
// VIEWS/RENEW/CONTENT-PAGE.PHP
// -----------------------------------------------------------------------------
// Standard page output for Renew.
// =============================================================================

?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  <div class="entry-wrap">
    <?php if ( has_post_thumbnail() ) : ?>
      <div class="entry-featured mtn">
        <?php x_featured_image(); ?>
      </div>
    <?php endif; ?>
    
    <header class="entry-header">
      <h2 class="entry-title">
        <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to: "%s"', '__x__' ), the_title_attribute( 'echo=0' ) ) ); ?>"><?php x_the_alternate_title(); ?></a>
      </h2>
    </header>
    
    <?php x_get_view( 'global', '_content' ); ?>
  </div>
</article>

3] Save the file named as content-page.php
4] Upload this file to your server in the child theme’s folder wp-content/themes/pro-child/framework/views/renew/

Hope this helps. Please let us know how it goes.

Thanks

Thanks for the prompt reply. Do I need to make a child theme first or is this some kind of auto-magic system to create child templates that don’t get over-written on updates?

Hi There,

You can download the child theme from apex dashboard. It’s better to use child theme always.

Thanks

A minor mod to the code and it’s back to normal. Thank you! :grinning:

You’re welcome.

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