This topic has 5 replies, 2 voices, and was last updated 8 years, 1 months ago ago by Robert Hall
Hi, Is it possible to display an alternate page title (just text in a span) on single product pages so the product description is the only H1 tag used on the page? I’ve tried just hiding it via css, and displaying a title that is hidden on all other pages, but it still renders the html, albeit hidden.
Thanks
Essentially this – which i can’t get to work on this theme
http://tidyhive.com/remove-page-titles-from-woocommerce-pages/
Hello,
As I see you’ve only one h1 tag at the product page. See screenshot: http://prntscr.com/cs3fhz
To change it you need edit the \wp-content\themes\legenda\framework\theme-functions.php file one line 4796
Regards,
Robert Hall
Sorry, should have been clearer.
I would like the product title to be an h1 tag, and the page title (on all single product pages) to be just span text (normal h1 on all other pages). Is this possible?
Thanks
Hello,
In this case you need edit the \wp-content\themes\legenda\woocommerce\content-product-slide.php file on line 53
Regards,
Robert Hall
Tagged: duplicate h1, optimization, product pages, templates, woocommerce, wordpress
You must be logged in to reply to this topic.Log in/Sign up