WooCommerce - excelling eCommerce
Related Product - edit title from h3 tag to p tag (5 posts)

  1. Martin
    Posted 2 years ago #


    I'am using woocommerce and superstore theme. I can't find the code to edit a title from Related Product. Right now is the title in <h3>. I would like ti change it to <p class'something'>.

    Can sameone help mi to find the right code?

    For more click here -> http://d.pr/i/Afmi

    Thanx for helpe.


  2. Roy Ho
    Posted 2 years ago #

    Why would you want to do that? h3 is an appropriate tag for a title of a product. It is semantically correct and good for seo.

  3. Martin
    Posted 2 years ago #

    Because there are too many similar products. And then there are eight or more h3 titles. I think this is too much for seo.

    I allready have in products descriptino a h3 title.

  4. Roy Ho
    Posted 2 years ago #

    Despite my affords, if you're still keen on doing that, you can look into the file content-product.php. That is the file that generates that h3 title tag.

    You want to copy that file to your theme folder/woocommerce folder and make your edits there.

  5. Martin
    Posted 2 years ago #


    You are a good man.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic