Home Forums WoodMart support forum Request to Change Article Titles to H2 on Blog Archive Page

Request to Change Article Titles to H2 on Blog Archive Page

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

    Vanessa
    Participant

    Good morning,

    I hope you’re doing well. On the blog archive page, the article titles are currently displayed in H3. I would like them to be changed to H2 for better structure and SEO optimization.

    Thank you in advance for your help!

    Best regards,
    Vanessa

    Attachments:
    You must be logged in to view attached files.
    #615638

    Luke Nielsen
    Keymaster

    Hello,

    Could you please check how it works with some default WordPress themes like WooCommerce Storefront or 2025 theme to understand if it is our theme issue or not?

    Kind regards

    #615649

    Vanessa
    Participant

    Hi,
    I controlled : with WooCommerce Storefront this titles are H2.
    It defenitly comes from WoodMart css.
    .wd-post-entry-meta ?
    .wd-entities-title title post-title ?
    Best regards,
    Vanessa

    #615659

    Luke Nielsen
    Keymaster

    Hello,

    If you want to change it, you need to 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.

    Kind Regards.

    #615678

    Vanessa
    Participant

    ok… I tryed…. and there is a message error….

    #615696

    Luke Nielsen
    Keymaster

    Hello,

    Send access to the admin panel so I can look closer at that issue.

    Thank you in advance.

    Kind Regards

    #615712

    Vanessa
    Participant

    Wonderfull ! Thanks you !
    I have changed in inc/template-tags/template-tags.php to h2…. It is still h3 on the page….

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