Get a fast, conversion-focused WooCommerce theme in 2024. Switch to Shoptimizer.

Home Documentation Shoptimizer Code Snippets Change Product Title Markup on Shop/Catalog

Change Product Title Markup on Shop/Catalog

If you want to change the product title markup on the shop/catalog pages to use a h2 or h3 you can do so with a custom function. Add the following code to either the functions.php file of a child theme or via the Code Snippets plugin.

In this example we’re using a h2, but you can obviously adjust the code to use a h3 instead if you wish.


Do you want a whopping $50 off Shoptimizer for WooCommerce?

Click the button below to get Shoptimizer for only $49. (Regular price: $99).
This is a special launch offer for today only.
Get it before it is gone!