Find Answers and Get Support › Forums › Gorgo – Multi-Purpose Gutenberg Blog & Magazine Theme › Website Setup › Posts › Duplicate H1 Tags in Blog Posts on Gorgo Theme
- This topic has 7 replies, 2 voices, and was last updated 2 months ago by Manathan.
-
AuthorPosts
-
MarineParticipant@marinem
- 1 Topics
- 4 Posts
Hello,
I’m experiencing an issue with duplicate H1 tags appearing in all my blog articles when using the Gorgo theme on WordPress. I’ve noticed that every article, for example, this one, has two H1 tags, which is problematic for SEO. I’m unsure where these tags are being generated from and how to resolve this issue. Could anyone help me identify the source of this problem and suggest how to fix it?
Thank you in advance for your assistance!
June 13, 2024 at 16:41 #48067@themodactyl- 0 Topics
- 6586 Posts
Hi Marine,
Thank you for buying our theme. We hope it will meet all your expectations! 🙂
You can set a different tag in Customize > Appearance > Header > Style > Title Format. 🙂
Hope this will help you.
Cheers,
June 14, 2024 at 08:25 #48072MarineParticipant@marinem- 1 Topics
- 4 Posts
Hi,
Thank you for your quick response.
I tried following your instructions to change the title format via Customize > Appearance > Header > Style > Title Format. However, even after changing the settings, the title still retains the H1 class, and I continue to find two H1 tags in the HTML code of my pages.
Could you please provide further guidance on how to ensure that only one H1 tag is used per page or suggest another solution to address this issue?
Thanks for your help!
Marine
June 14, 2024 at 08:43 #48073@themodactyl- 0 Topics
- 6586 Posts
Hi Marina,
Could you provide us with screenshots of the page, please? So, you can point the two h1 you’re talking about. 🙂
Please don’t hesitate to comment or highlight your screenshots to help us better understand your issue.Thank you.
June 16, 2024 at 12:55 #48087@themodactyl- 0 Topics
- 6586 Posts
Hi Marine,
Thank you for your patience. 🙂
To remove the duplicated h1, simply add the following code snippet to your website:
/** * FIX : Remove Duplicated h1 in Page Header. */ add_action( 'template_redirect', function() { if ( is_singular( 'post' ) ) { remove_action( 'grimlock_single_header', 'grimlock_singular_title', 20 ); } } );
To add this code snippet to your site, we recommend that you use the Code Snippets plugin (https://wordpress.org/plugins/code-snippets/). If you have never activated this plugin, please read the following post: Adding Custom PHP Without Changing Your Child Theme.
Please also note that we don’t provide any theme customization. So, you shouldn’t expect other snippets from us unless it’s to fix an issue stemming from our own codebase. We always try our best to help theme users whenever we can and only provide code snippets out of courtesy to prevent them from waiting for the next update.
Regards,
June 25, 2024 at 09:45 #48132 -
AuthorPosts
Hi there,
This topic has been inactive for a while now so we will be closing it to keep the forum tidy. Don't hesitate to create a new topic if you still need help and we'll be glad to help you!
Best regards,
The Themosaurus team.
The topic ‘Duplicate H1 Tags in Blog Posts on Gorgo Theme’ is closed to new replies.