Jump to content

Archived

This topic is now archived and is closed to further replies.

dawsonbarber

No <h1> Tag for Blog Post Titles & Custom Post Type Post Titles?

Recommended Posts

dawsonbarber+    19
dawsonbarber

I just noticed that blog posts use <h2> for the post title. Custom post type posts also default to <h2>.

 

I checked the source code on a number of posts and couldn't find any evidence of an <h1> tag.

 

Just to see what would happen, I enabled Legacy mode, checked the source code, and saw that blog post titles and custom post type post titles were both wrapped in <h1> tags.

 

What's the deal with this?

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi,

 

Not sure what you mean whats the deal ? This is basic SEO practice, there should only ever be one h1 on any given page. Therefore, when you view a blog, all the post titles will be wrapped in <h2> tags, but when you view the individual post, the title will wrapped in a <h1> tag.

 

If you search most blogs, all post titles are wrapped in a <h2> tag. For example:

 

http://wordpress.org/news/

https://github.com/blog

http://blog.atom.io/

 


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
dawsonbarber+    19
dawsonbarber

The HTML5 spec says you can have more than one <h1> tag on a page, but that's not what I'm talking about.

 

I'm talking about individual post titles.

 

All of them are wrapped in <h2> tags. The only way for an individual post title to have an <h1> is to enable legacy mode. This goes for custom post types, as well.

 

See here (regular post): http://abbotsfordrealestate.co/june-2014/

 

And here (custom post type): http://abbotsfordrealestate.co/market-updates/detached-homes-june-2014/

 

PageLines blog individual post: http://www.pagelines.com/pagelines-is-a-community/

 

All are individual posts and all titles are wrapped in <h2> tags.

 

It appears that the only way to be able to use the <h1> tag on individual post titles is to enable legacy mode.

 

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

In regards to multiple h1 via the HTML5 spec, as far as I am aware you should only have multiple H1 tags if you use multiple section tags, but I could be wrong.

 

Regarding the new postloop mode, I only checked the legacy mode on my test site. So I will bring this to our developers attention.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
dawsonbarber+    19
dawsonbarber

Basically, people shouldn't do more than one <h1> tag unless they're sure about what they're doing so sticking with a single <h1> tag is probably the safest/best way to go.

 

In regards to multiple h1 via the HTML5 spec, as far as I am aware you should only have multiple H1 tags if you use multiple section tags, but I could be wrong.

 

Yes, currently legacy appears to be the only way to get <h1> tags on single post titles (and single custom post type titles), which isn't good SEO for anyone not using legacy mode (like me and probably many others since "non-legacy" is the default).
 
Regarding the new postloop mode, I only checked the legacy mode on my test site. So I will bring this to our developers attention.

 

Would you mind updating this thread with their response?

 

I'd rather not enable legacy mode (has some implications for custom post types for me) if It's something they will address quickly.

 

Cheers

 

Share this post


Link to post
Share on other sites
dawsonbarber+    19
dawsonbarber

Any update on the status of this issue?

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

It has been reported to our tracker, our developers have responded to the issue as of yet.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
dawsonbarber+    19
dawsonbarber

Not sure how things work with your developers but I'd think that an issue like this should be treated as urgent.

 

It's not hard to fix. I've hacked one installation simply by changing two <h2>s to <h1>s - I know, no support,  but a lot of content has since seen a boost in search visibility, so there's that.

 

Can I ask why does an issue like this not seem to be a big deal?

 

Not trying to be a dick but SEO is challenging enough without having a theme work against you.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

I have reported, I have now changed the flag to high priority and @mentioend our developers so they're aware of the problem.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
dawsonbarber+    19
dawsonbarber

Thanks, Danny.

Share this post


Link to post
Share on other sites
dawsonbarber+    19
dawsonbarber

I upgraded to 2.15 hoping/expecting to see that this issue had been addressed.

 

Nope.

 

So the problem remains: no <h1> tags on single posts and single custom post types (unless you use legacy mode).

 

Any chance of an explanation from the developers on why they didn't address a key SEO problem with the latest release?

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

I've bumped the ticket again for you.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
dawsonbarber+    19
dawsonbarber

Is it possible to get some assurance that the developers will actually address this problem - and, if so, when?

 

It's been about 6 1/2 to 7 weeks since I originally raised it and I have no idea when/if it will be addressed.

 

Thanks

Share this post


Link to post
Share on other sites
dawsonbarber+    19
dawsonbarber

I think a week is a little long to have to wait for a reply to a message asking for an update on a problem that was identified about 2 months ago. Just sayin.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Yeah it has been escalated to our task manager so all our developers can see this now. I apologise that this has taken so longer.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
dawsonbarber+    19
dawsonbarber

Hmmm...for reasons I'm sure you'll understand I gotta say that I'm not going to hold my breath waiting for them to address this problem.

 

I have to say that I'm more than a little surprised at the lack of action on this, considering it's a fairly serious problem affecting every DMS installation (that's not using legacy mode or Ellen's Single Bits plugin, which does use <h1> tags on single posts) and that the solution took about 1 minute to apply.

Share this post


Link to post
Share on other sites

  • Similar Content

    • art23130
      By art23130+
      I have uploaded a file shoing missing sections for Custom Post Type
      It is OK for categories and tags but not for a single post types. 
      This is the link. 
      https://www.geoinformation.com/geocode_library/10-10570-rsg-2016-003/
      Any idea?
      thanks 
      Binder1.pdf
    • StuLeeUK
      By StuLeeUK+
      Good morning,
      I have set up my homepage using the Elements sections, a Masthead at the top and then a selection of Heroes lower down.
      I only just realised that the Heroes set a H1, as does the Masthead.
      Is there an easy way I can change the Heroes to an H2/H3 etc so as to improve the structure of my headers, whilst keeping the Masthead as H1?
      I really don't know much at all about CSS, which is why I use Pagelines because it's just so easy to create good looking pages without too much confusion.
       
      page for reference is https://www.avangocouriers.co.uk
      Thanks,
      Stu
    • Claudio
      By Claudio+
      I have a problem with the typography settings. I set the H1 class with "font-weight: 300;" (Very thin weight), and "font-size: 50px;" (To have considerable evidence of my problem). Unfortunately, as you can see on the screenshots, those setting don't have any incidence on the site, Infact in the home page editor there is a trial title called "Text test", bold, and 26 px approximatly sized.
      Why the typography settings are not transposed on the site? Where I wrong?


    • globalnative
      By globalnative+
      Hi there!
      I'm trying to create a featured image for my new blog post. It has text in it, and when I add it as a featured image some of the text is cut off on the right.
      Could I get the ideal dimensions for featured images? Or, a way to customise the dimensions so that they are easier to fit in the way I need?
      Thank you kindly
      Nate
       


    • PeriniNero
      By PeriniNero+
      We are building a Custom Post Type with Custom Fields and Custom Taxonomies.
      The only thing we dont understand is how to embed the Custom Fields including header tags and stuff in the Postloop (now we use a text-box below the postloop section but also SEO wise this is not best pratice).
      So we thought to copy the dms Postloop section to our child theme and rename this, to add an extra Postloop section to our theme. Is this the way?
      What exactly to adjust in those 3 files class.posts.php, section.php and style.less (at this point we know how to change the thumb LOL) and where to add the Custom Fields shortcodes?
      Thanks.
×