H1 Tags for SEO purpose – how does the theme handle them?

This topic has 4 replies, 2 voices, and was last updated 1 years, 9 months ago ago by Rose Tyler

  • Avatar: websitedude1985
    WebsiteDude
    Participant
    February 16, 2023 at 19:05

    I saw this article in the forum – but I need to know if this is still relevant.

    I need my Page title to be used as H1 for both the Pages and Posts and Products for that matter. So want to check if this is inherited from any setting in the theme?

    I see settings for breadcrumbs and these are set as H1 – but isnt this bad for SEO?

    What I am trying to determine is the best setting for Breadcrumbs so that my SEO is not negatively affected. When I check other sites I can see they dont use any H1’s 2’s etc – more they look like the attached screenshot.

    What I want to check is the best setting for Breadcrumbs, and do I need to use the setting in the theme at all? I see seveeral options of what to set it to but I just need to know which is best?

    THIS WAS THE POST I AM REFERRING TO…..

    Hello,

    I have changed

    to

    in single.php file of xstore child theme.
    Check now, please.

    Regards

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 17, 2023 at 13:02

    Hello, Websitedude1985,

    “I need my Page title to be used as H1 for both the Pages and Posts and Products for that matter. So want to check if this is inherited from any setting in the theme?” – this is not inherited from any settings because on each page you may add custom content where you place own text and position of h1
    “I see settings for breadcrumbs and these are set as H1 – but isnt this bad for SEO?” – we output main title of post/product/etc in breadcrumbs using h1 tag to make SEO always have main title on most possible existing pages. According to the latest questions from our customers about replacing that tag to another we added option where you may select any possible tag from the list to replace h1 tag in breadcrumbs and add it anywhere else in the content -> https://prnt.sc/THMOKj60F8yQ
    “What I want to check is the best setting for Breadcrumbs, and do I need to use the setting in the theme at all? I see seveeral options of what to set it to but I just need to know which is best?” – Each option we provide in our Theme Options could be changed/enabled/disabled according to one’s needs. For example, if someone wants to have ‘return back’ link and someone don’t then one will enable that option and another will switch it off. We recommend having breadcrumbs settings in the way we provide in our demo’s import settings. For example default demo according to its design and site content has next breadcrumbs settings -> https://prnt.sc/XCyZxXMpLkAl Also, in cases any page needs to use own h1 tag we have an option where you may disable breadcrumbs fully on a specific page -> https://prnt.sc/7QEdQwqfGO9s which will help to skip conflicts between double h1 headings.

    Kind Regards,
    8theme team

    Avatar: websitedude1985
    WebsiteDude
    Participant
    March 14, 2023 at 05:34

    Hi there,

    following up on Breadcrumbs – if I wanted to use my plugin SEOPress for Breadcrumbs across my site – can you tell me how best to make this happen?

    I don’t want to use XStores features for Breadcrumbs – so ideally want to turn this off I think as I believe having my SEO plugin control these will be more effective?

    So I guess I just need to know the optimal setting to achieve this – and if I do this, will there be any excess code being used that is not needed by your theme?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 14, 2023 at 16:14

    Hello, WebsiteDude,

    For rewriting our built-in breadcrumbs functionality you may add next code to your child-theme/functions.php

    add_action('etheme_page_heading', 'etheme_page_heading', 10);
    function etheme_page_heading() {
    // your custom SEO shortcode or own template 
    echo 'My breadcrumbs code';
    return;
    }

    Backend: https://prnt.sc/3bjg5zTlX559
    Frontend: https://prnt.sc/JMM30orKsQ1e (before) vs https://prnt.sc/dHipZ1-dreoL (after)

    Also, you should copy xstore/woocommerce/global/breadcrumb.php to your child-theme/woocommerce/global/breadcrumb.php and make your own changes inside that file.

    We hope this information is helpful.

    Kind Regards,
    8theme team

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.