Home › Forums › WoodMart support forum › Change Blog title from H3 to H1s on single blog pages
Change Blog title from H3 to H1s on single blog pages
- This topic has 7 replies, 2 voices, and was last updated 11 months, 2 weeks ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
November 20, 2023 at 5:26 pm #513896
ruthemodeParticipantOn the single blog pages, the word “Blog” above the article title is an h3. Is it possible to make the article title the first and only title and in h1, so the word “Blog” doesn’t appear at all except on the archive page?
If not, how can that “Blog” be turned into an h1 title for the sake of SEO?
November 21, 2023 at 12:45 pm #514109
Aizaz Imtiaz AwanKeymasterHello,
Go to Theme Settings > Page title > Title tag > Choose the HTML tag to use for the page title.
Best Regards.
November 21, 2023 at 6:07 pm #514257
ruthemodeParticipantThat setting is already set to H1, but the title “Blog” on the individual blog pages continues to be h3. Can you please take a look?
- This reply was modified 11 months, 2 weeks ago by ruthemode.
November 22, 2023 at 9:51 am #514405
Aizaz Imtiaz AwanKeymasterHello,
Please update the new version of the theme “WOODMART WordPress NEW: 7.3.3 RELEASED” and update the required plugin and check the issue.
https://xtemos.com/docs-topic/update-the-theme/If the issue still remains, deactivate the third party plugins on your site and check the issue. If the issue still persists, let me know I will further check the issue on your site.
Best Regards.
November 23, 2023 at 4:05 am #514744
ruthemodeParticipantI tried deactivating all the plugins except for the Woodmart core and there’s still h3 headings on single blog pages at the top.
November 23, 2023 at 4:39 pm #514985
Aizaz Imtiaz AwanKeymasterHello,
This tag cannot be changed by the page title options, because it is considered that the main title on the article page is the title of the article itself and not its affiliation to the blog, so it is not a bug, but if you want to change it, you needs go to file
inc/template-tags/template-tags.php
there is a function starting on string 923 called woodmart_page_title, which needs to be copied to the child theme functions.php file.In that function on string 1152 (https://monosnap.com/file/8ePKcMhMkk5b3yYuWtC5SGLnCdcwnN) you can change the h3 tag to the desired one.
Best Regards.
November 23, 2023 at 6:34 pm #515017
ruthemodeParticipantI don’t want to create a child theme, but I could use WP Code Snippets. Since I’m not great at coding with PHP, can you give me the exact code I’d need to change those H3s to H1s?
I would so appreciate that help, so that my SEO can really take off.
November 24, 2023 at 2:21 pm #515274
Aizaz Imtiaz AwanKeymasterHello,
Sorry to say that there is no code snippet for this. You have to customize the theme files.
Sorry but there is no option in Theme Settings available for that.
It requires customizations and this is beyond our limitations and support policy.
Regards.
Xtemos Studios -
AuthorPosts
- You must be logged in to create new topics. Login / Register