Hello @sabbir37,
This can be done with a child theme, just add a file with the same path and name as the one you’d like to edit (which should be one of those). Copy over its content, and you’re ready to start making changes.
Please check this guide if you’re not using a child theme: https://developer.woocommerce.com/docs/how-to-set-up-and-use-a-child-theme/
It can be a bit confusing the first time, so if anything isn’t clear, feel free to ping me here—I’m happy to help!
thanks @babylon1999
I’m using a child theme on my site, but I need help figuring out what to add. Can you clarify these based on my requirements?
If I understand correctly, you want to change the <h2>
to <span>
here, correct?
Just as the template comment says, create a new file with the same name single-product-reviews.php
to yourtheme/woocommerce/single-product-reviews.php
in your child theme. If you don’t have a woocommerce
directory in your child theme, create one.
Then copy the template from the original template to the file you created and edit this line:
If you haven’t done this before, it’s best to start with a staging environment first, just to be safe. : )
I received a hint from your first reply and I successfully changed the tag.
Thank you for your help!