badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

How to apply H1 to the header of a post or page?

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #9762
    lonnekederoovere
    Participant

    Hi There,

    I would like to apply the H1 tag to the titles of my posts or pages instead of what you see down here. As I understood you can only have 1 H1 title per page. The H1 tag is important for Google indexing but now the elements below are defined as the H1 tag? Is it possible to change this?
    Kind regards Lonneke

    <h1 id=”site-title”>

    bureau-beeker

    </h1>

    #9765

    Hi lonnekederoovere

    We will update it soon. Many of us have post this blog. So we are going to fix it soon.
    Regards
    Sunil

    #27180
    SMW
    Participant

    Hi – just wanted to check on the status of getting this fixed. I’ve been doing a check of my site in WMT and it looks like most pages are still showing two h1 tags — one for <h1 id=”site-title”> and the other for the title of the post, which is obviously terrible for SEO. Can you please provide an update?

    #27201

    Oh SMW,
    We missed that. We will update it within in couple of week. We need to fix it almost in all themes. Thanks for reporting

    Thank you!

    #28396
    SMW
    Participant

    Hi – just checking in on this again. I just downloaded the latest version of Attitude Pro that looks like it came out a few days ago and am still seeing <h1 id=”site-title”>. The issue looks like it was first brought up almost 18 months ago and still hasn’t seen any resolution despite indications to the contrary in your replies. What’s the ETA for getting this fixed? Again, it’s TERRIBLE for SEO and I will need to migrate to another theme (which I’d really rather not do) if this isn’t going to be fixed in the immediate future. Thanks.

    #28442

    Hi SMW,

    Sorry! We have already fixed this before.
    Please check it once again there is no more than one h1 tag in the page/post. If you found it on any pages then let us know also it will be better if you share your site URL where you are seeing more than one H1 tag.

    Thank you!

    #28450
    SMW
    Participant

    In the source code I’m seeing <h1 class=”entry-title”> around the post titles. And then I’m seeing an <h1 id=”site-title”> around the logo on each page, which seems to be triggering the too many h1 tags alert. Let me know what email address I can send URL examples to and I’ll pass those along. Thanks!

    #28459

    Hi SMW,

    Please view our sample page where you can see only one H1 tag assigned for page title and not for site-title.
    Also you can view our blog page where you can see H2 tag is assigned for blog post title because we can not assigned H1 tags for all the post title as you know it and there is also only one H1 tag assigned and click on any post and you will be go to the post single page there is also only one H1 tag which is assigned for the main post title.

    Thank you!

    #28461
    SMW
    Participant

    So here’s what I’m seeing in the source code from the links you provided. If I go to the blog page and then select the first post (https://www.themehorse.com/preview/attitude/business-is-all-about-attitude/), in the source code I see H2 defined as the site-title “Attitude”

    <h2 id=”site-title”>
    Attitude </h2>

    Then there are the following H1 tags:
    <h1 class=”page-title”></h1><!– .page-title –>
    which looks like it would result in an empty H1 showing up, and

    <header class=”entry-header”>
    <h1 class=”entry-title”>
    Business is all about attitude</h1><!– .entry-title –></header>
    which is the title of the post

    Thus there are two H1 tags on the post page, one of which is showing up as empty

    On the site I’m working on, here’s what I’m seeing after upgrading to Attitude Pro 2.0:
    <div id=”site-logo” class=”clearfix”>
    <h1 id=”site-title”>

    `<img src=”
    http://domain.com/wp-content/uploads/2015/02/domain.jpg&#8221; alt=”Domain” />
    `
    </h1>

    where “domain” is the domain I’m working on (again, if you let me know what email address to send this to, I can provide the URLs so you can take a look).

    And then I see
    <header class=”entry-header”>
    <h1 class=”entry-title”>
    Post1
    </h1><!– .entry-title –>
    </header>

    So while the sample blog post looks like it’s using an H2 for the site title, in Attitude Pro 2.0, I’m seeing an H1 being used for both the site title and the post title, instead of an H2 being used for the site title. I went into the WordPress dashboard and confirmed that the live theme is Attitude Pro v2.0, so I’m not sure what could be going on.

    #28462
    SMW
    Participant

    sorry, I didn’t paste the code above properly, so I’m sending it again. Here’s what I’m seeing in the source code of the domain I’m working on that’s been updated to Attitude Pro 2.0:

    <div id="site-logo" class="clearfix">
    												<h1 id="site-title"> 
    								<a href="http://domain.com/" title="Domain" rel="home">
    									<img src="http://domain.com/wp-content/uploads/2015/02/domain.jpg" alt="Domain">
    								</a>
    							</h1>
    											
    				</div><!-- #site-logo -->

    and

    <h1 class="entry-title">
        				<a href="http://domain.com/Post1/" title="Post1">Post1</a>
        			</h1><!-- .entry-title -->
    
    #28581

    Hi SMW,

    We fixed that blank h1 page-title tag in pro version but missed to update in free version.
    We will update it in next version. For now if you are using free version then go to theme folder-> library-> structure-> header-extension.php on line no 236 you will find this below code. Remove this below code
    <h1 class="page-title"><?php echo attitude_header_title(); ?></h1><!-- .page-title -->
    and paste this below code

    if( '' != attitude_header_title() ) {?>
    <h1 class="page-title"><?php echo attitude_header_title(); ?></h1><!-- .page-title -->
    <?php } ?>

    If there is any issue/ confusion then let us know and thanks for addressing the issue in free version!

    Thank you!

    #28603
    SMW
    Participant

    I’m just realizing that I accidentally posted in the support section for the free version of Attitude. The issue I’m having, and what is highlighted in the code above, is from Attitude Pro 2.0, so the issue has not been fixed there either. Please let me know what the ETA is for resolving this and rolling out a fix. And let me know if I need to repost all of this in the Attitude Pro support forum to ensure it gets addressed in the next release of Attitude Pro

    thanks

    #28607

    Hi SMW,

    Did you update the Attitude Pro theme to the latest version? Update it and let us know.

    Thank you!

    #28625
    SMW
    Participant

    Thank you. It looks like Attitude Pro 3.0 came out since I restarted this thread; I had upgraded to 2.0 (which had been the latest version available) right before. Confirming that I’m only seeing one h1 tag in the source code. Thanks for your help – much appreciated.

    #28710

    Great! 🙂

    Could you also please help us rating this theme in WordPress Repository.
    https://wordpress.org/support/view/theme-reviews/attitude
    We really appreciate your rating.

    Thank you!

Viewing 15 posts - 1 through 15 (of 17 total)
  • You must be logged in to reply to this topic.