3 H1 on post page

Hello Themeco,

I asked a question 3 weeks ago here: https://theme.co/apex/forum/t/last-updated-date-in-serps-double-h1-in-single-post/1890/4

But it was closed before I could even answer.

So I tried to follow every step but I ran into problems:

  1. I had 2 h1 in every page, now I have 3 on post page (I only need 1 :stuck_out_tongue: ) since the last update of Pro.

a) The name of the Website is H1 on every page
b) h1> class=“entry-title”>Blablabla/h1> on every post
c) The post name which should be the only H1 on a post

  1. The post update date is working, but will it be displayed on the Google Serps ? => YES IT IS :slight_smile:

  2. I have no such directories in Pro

Upload this file to your server in the child theme’s folder wp-content/themes/x-child/framework/legacy/cranium/headers/views/global/

So I couldn’t upload the file there.

Thank you so much guys

No one can help me ? :frowning:

Hi There,

Would you mind providing us with login credentials(by clicking on the Secure Note button at the bottom) so we can take a closer look? To do this, you can make a post with the following info:

  • Link login to your site
  • WordPress Admin username / password
  • FTP credentials


Here it is.


To remove the hidden h1, create file _brand.php in wp-content/themes/pro-child/framework/legacy/cranium/headers/views/global and copy the code below into that file


// =============================================================================
// -----------------------------------------------------------------------------
// Outputs the brand.
// =============================================================================

$site_name        = get_bloginfo( 'name' );
$site_description = get_bloginfo( 'description' );
$logo             = x_make_protocol_relative( x_get_option( 'x_logo' ) );
$site_logo        = '<img src="' . $logo . '" alt="' . $site_description . '">';


<a href="<?php echo home_url( '/' ); ?>" class="<?php x_brand_class(); ?>" title="<?php echo $site_description; ?>">
  <?php echo ( $logo == '' ) ? $site_name : $site_logo; ?>

Then create _content-post-header.php in wp-content/themes/pro-child/framework/views/ethos and copy the code below into that file.


// =============================================================================
// -----------------------------------------------------------------------------
// Standard <header> output for various posts.
// =============================================================================


<header class="entry-header">
  <?php if ( is_single() ) : ?>
    <?php x_entry_navigation(); ?>
    <h2 class="entry-title"><?php the_title(); ?></h2>
  <?php else : ?>
    <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>
  <?php endif; ?>
  <?php x_ethos_entry_meta(); ?>

For more information in customizing the theme, please see customizations section in our KB

Hope that helps.

Hey Paul,

Thanks for your answer.

The problem is that I don’t have this folders. Mine stops at wp-content/themes/pro-child/framework/views

Is it normal ?
Do I have to create the other folders ?

So I created them and it worked but now I 2 problems:

  1. I don’t have a h1 on the homepage anymore

Thank you :slight_smile:

I’m really appreciating your technical help but I don’t understand why a so beautiful and great theme as X is not optimized for SEO Basics ie having a clear HTML structure

One H1 per page…



Yes it is normal.

You need to create those folders

With regards to h1, I will forward your concern to our Web Development team.