- This topic has 7 replies, 4 voices, and was last updated 4 years ago by
David.
-
AuthorPosts
-
June 6, 2022 at 9:30 am #2245300
Peter
I would like to report a problem that has been discussed a lot on this site.
GP says that the <title> is an <H1>… But I work with a mega menu and the system always says: “Page has more than 100 links before H1 tag”.
That’s true, but I can’t place my mega-menu (with +200 links) before the header, can I?
I also don’t understand why the H1 tag exists then…According to GP’s advice, there should only be one H1 in a post/page.
So the H1 is automatically created via the header… Don’t you think that’s weird?
Then GP should better disable the possibility that a user can use an H1… (remove from the editor)
Most of my pages consist of links to Amazon because I am an affiliate.What can be done about that?
In short: DO NOT use <H1> anymore!!!
In both situations I get an error :
if I put another H1 I’m being warned that the title is already an H1
If I don’t put a second H1 I get “Page has more than 100 links before H1 tagDoes anyone have a solution?
Thanks in advance!
June 6, 2022 at 3:30 pm #2245515Leo
StaffCustomer SupportHi there,
Any chance you can link us to the page in question?
You can use the private information field:
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-informationLet me know 🙂
June 6, 2022 at 3:45 pm #2245519Peter
Hello,
It are all the pages and poss on “topfishinggadgets.com”…
This happens because the H1 is already connected with the title…
Best regards,
June 6, 2022 at 6:36 pm #2245578Fernando Customer Support
Hi Petar,
SEO-wise, H1 tags are important. These are also added by default by WordPress.
If you would like to turn your H1 Content Titles to H2 Content Titles, one approach is:
1. You’ll need GenerateBlocks plugin for this. Create a Block Element – Page Hero. Disable the title. Add a Headline Block. Set the Dynamic text type to title: https://share.getcloudapp.com/QwunGvW4
2. Create a Layout Element. In the Disable Elements tab, check Content Titles. Create a Hook Element. Add this code:
<?php echo '<h2>' . get_the_title() . '</h2>'; ?>set Hook to
generate_before_main.check Execute PHP.
Set the display rules to your preference.
Example: https://share.getcloudapp.com/4gurxwb2
Hope this helps!
June 7, 2022 at 2:59 am #2245833Peter
So you admit that the <H1> can no longer be used? I had already started changing all my H1s to H2s…
I wonder how many people know that?
Thanks anyway!
June 7, 2022 at 3:33 am #2245862David
StaffCustomer SupportHi there,
can we take a step back to this:
In both situations I get an error : if I put another H1 I’m being warned that the title is already an H1 If I don’t put a second H1 I get “Page has more than 100 links before H1 tagWhere are these warnings being reported ? Is this from an SEO Plugin ?
June 7, 2022 at 3:47 am #2245881Peter
That comes from “SiteChecker.pro”… For My SEO I use AIOSEO…
June 7, 2022 at 4:53 am #2245930David
StaffCustomer SupportSo when you create a Post or Page and you add the Content Title to the post, that title is output as a H1 by the Theme by default in the post entry header:
https://www.screencast.com/t/roQnmJcnhQls
Which means you do not need to add one inside your post content. ie. Your first heading in your content should be a H2.
And thats how your site is and 100% correct.
But this:
If I don’t put a second H1 I get “Page has more than 100 links before H1 tagI do not understand.
If you added a second H1 then that would be below the first H1 ( the one added by the theme ). So you would have 100 links before 2 x H1 tags.As it is the most common design pattern on a website that the Site Header and Navigation is displayed before the Title and Content of the page, then that ‘warning’ would effectively mean that you should not use a mega menu with over 100 links inside it…. Personally i have never seen this flagged as an issue. It may be worth taking advice from SiteChecker.pro support on this.
If however you want to restructure your posts so you have:
Site Header
H1 Post ( or page ) Title
Navigation
Post content ( starting with H2 )That is possible. But i would only do that if you really think its a good design for your users and not because some software flagged it….
-
AuthorPosts
- You must be logged in to reply to this topic.