WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Martin
    Member
    Posted 1 year ago #

    Hi.

    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.

    http://wordpress.org/plugins/woocommerce/

  2. Roy Ho
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

    Thanx.

    You are a good man.

    Martin

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic