Home Forums WoodMart support forum H1 – SEO purposes

H1 – SEO purposes

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #149010

    davidmontana
    Participant

    Hello guys,
    I’d like to know how to add H1 titles to these pages for SEO purposes,

    thank you

    #149078

    Hello,

    As you want to add H1 titles for those page that you share in private content. Copy the file template-tags.php from wp-content\themes\woodmart\inc and paste it in the same directory inside the child theme.

    Then go to line# 1019, you will see the below code:
    <h1 class="entry-title"><?php woocommerce_page_title(); ?></h1>

    Now if you want to add styles then you can add below styling in style.css:

    .entry-title{
    color: #999999;
    font-family: arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 1px;
    }

    OR

    You can use the below css code in Theme Settings >> Custom Css>> Global Custom Css:

    .page-title.color-scheme-light .entry-title {
    color: #999999;
    font-family: arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 1px;
    }

    Best Regards.

    #149358

    davidmontana
    Participant

    Thank you for the response
    I added the php to the child theme and the CSS code but my question is:
    how can I ADD the H1 title to these pages:
    https://klay.com.au/results/
    https://klay.com.au/product-tag/skb/

    Maybe should I add any code to the php file you mentioned, on the child theme?
    Looking at your instructions I don’t get why did you mention

    “Then go to line# 1019, you will see the below code:”

    The thing is there’s no H1 title in the above pages
    Please let me know

    Thanks

    #149362

    davidmontana
    Participant

    Thank you for the response
    I added the php to the child theme and the CSS code, it’s the same, nothing changed

    Maybe should I add any code to the php file you mentioned, on the child theme?
    Looking at your instructions I don’t get why did you mention

    “Then go to line# 1019, you will see the below code:” I don’t see the reason why you asked me to copy the php file on the child theme if nothing was modified

    The thing is there’s no H1 title in the above pages,

    This support request is: how can I ADD the H1 title to these pages
    https://klay.com.au/results/
    https://klay.com.au/product-tag/skb/

    Please let me know

    Thanks

    #149366

    Most Welcome,

    No, you did not have to add any extra code in the file which I mentioned.

    I mentioned that file because in my test site that file is responsible for the titles of those pages. That’s why I guide you to copy that file in the child version of theme and then apply styling.

    Because if you do this in you parent theme then after the theme update you will lose your customization.

    As you said that in your site there is no H1 title in those pages. From the pages which you shared it seems that you disable the title form the theme options.

    Go to Theme Settings >> Shop >> SIDEBAR & PAGE TITLE and make sure that “Shop title” option is enabled as in the screenshot: https://jmp.sh/DGKgpRs

    In case after enabling the above option if the title still not shown then share your login credentials so I can check and help you out.

    Best Regards.

    #150564

    davidmontana
    Participant

    Thank you guys

    #150582

    Well, davidmontana!.., it’s been great chatting with you! I hope I resolved your issues thoroughly.

    Let us know if there’s anything else we can do for you! You can always reach us at any time. We are always here to help you.

    Have a wonderful day.

    Topic Closed.
    Best Regards.

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘H1 – SEO purposes’ is closed to new replies.