- This topic has 15 replies, 5 voices, and was last updated 4 years, 5 months ago by David.
-
AuthorPosts
-
April 12, 2017 at 9:06 am #304998Mindy
Hello, I pretty much have the same question as this post, but would like a bit more information: https://generatepress.com/forums/topic/disable-elements-seo-impact/
If I have a page and I disable the header, featured image / page header, and the content title, but I still add an h1 element to the page, what else should I do to make up for the items I disabled?
More specifically, in the thread I linked, Tom says:
“GP also adds schema.org tags to the H1, so thatβs something you might want to look at adding to your H1 in your content as well.”
What does this mean? How can I make sure to include any schema info that I am losing by disabling the GP options?
Thanks so much for any help! π
April 12, 2017 at 10:43 am #305068TomLead DeveloperLead DeveloperHere’s an example from the built in titles:
<h1 class="entry-title" itemprop="headline">My page title</h1>
The
itemprop="headline
is the important part that you want to add to your custom H1.April 12, 2017 at 11:07 am #305073MindyThanks Tom! I am guessing that since I am using Beaver Builder for all the pages, I can’t easily add that “itemprop” attribute?
I did a bit of digging and it looks like I can get that headline attribute with this though: https://wordpress.org/plugins/ft-bb-schema/
Thanks again! π
April 12, 2017 at 3:22 pm #305206TomLead DeveloperLead DeveloperNo problem π
January 21, 2018 at 4:20 pm #476690Rob CruzHi! As a follow-up question on this thread…
So I use these page headers and display it above all my posts. I added this as a content of my page header:
<h1>{{post_title}}</h1>
This will pull my post title to my page header and it’s working great!
Now for my questions:
1. Am I breaking the schema thingy doing this?
2. Doing this, do I only have one h1 tag in my post? Because I’m worried that I may have double h1 in the codes.
2. Is it even advisable to do this in the 1st place (in terms of SEO)?Thank you so much!
RobJanuary 21, 2018 at 9:26 pm #476757TomLead DeveloperLead DeveloperHi Rob.
1. Doing this does strip the schema markup – however you can add it to the
<h1>
element yourself.2. Using that tag will remove the default h1 from the page, so you won’t have any duplicated titles.
3. There’s nothing wrong with using this method π
January 21, 2018 at 11:38 pm #476801Rob CruzOkay, nice. That’s very helpful π
So this is the new code in my page header:
<h1 itemprop="headline">{{post_title}}</h1>
I hope I did it right?
Thanks,
RobJanuary 22, 2018 at 8:57 am #477226TomLead DeveloperLead DeveloperThat should do it π
January 22, 2018 at 3:59 pm #477548Rob CruzThank you so much, Tom!
January 22, 2018 at 8:23 pm #477658TomLead DeveloperLead DeveloperNo problem! π
November 3, 2019 at 4:23 pm #1052456KrystianHello Tom,
I hope it’s not an offense to revive this thread.I’m not sure whether Elements plugin was available back then, but nowadays some Header Elements come with
<h1> {{post_title}} </h1>
Is schema makeup automatically added nowadays in this case?
If so, is it still added if I change the code for<h1> SomeWords </h1>
If it’s not automatic, does it make any difference whether I type in Header Element
<h1 itemprop="headline">{{post_title}}</h1>
or
<h1 class="entry-title" itemprop="headline">{{post_title}}</h1>
Thanks π
November 3, 2019 at 4:47 pm #1052459DavidStaffCustomer SupportHi there,
no, it makes no difference whether you manually add the heading or use the template tag.
November 3, 2019 at 5:06 pm #1052469KrystianThanks,
I’ve looked into page source and checked the thing myself, who knew, it wasn’t that hard…
I came here again to edit previous question, but you were faster πDo you know whether adding some html code inside
<h1 class="entry-title" itemprop="headline">TEXT TEXT</h1>
can have detrimental impact on SEO, or it doesn’t matter at all?
For example:<h1 class="entry-title" itemprop="headline"> <span style="font-size: 130%"> TEXT <br> TEXT </span> </h1>
November 3, 2019 at 5:12 pm #1052472DavidStaffCustomer SupportAdding inline styles or HTML markup within has no direct impact on SEO.
November 3, 2019 at 5:19 pm #1052473KrystianMany thanks, have a nice day/night!
-
AuthorPosts
- You must be logged in to reply to this topic.