Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Adding a filter to customized the product header page title

Home / Forums / Pinnacle Theme / Adding a filter to customized the product header page title

This topic is: Resolved
[Resolved]
Posted in: Pinnacle Theme
November 10, 2017 at 3:28 am

Hi,

each product heading at top is setup to be the shop name, on every product page. I would like to link this back to the shop using a-href to /shop/

This is generated in pinnacle_premium/templates/woo-product-header.php as

<h1 style="<?php echo esc_attr($tcolor);?>" class="product_page_title entry-title"><?php echo $page_title_title; ?></h1>

So I would need to wrap the $page_title_title into an `$page_title_title. Problem is I cannot get access to this from my child theme (and I do not want to dynamically hack something together using jQuery).

Would it be possible that that the Pinnacle theme would provide a simple filter here so that the product header page title can be overridden easily from a child theme?

PS
Quickly rethinking: Or is it possible that I as an admin can enter any kind of HTML into the Theme options > Product settings > Post Default Title ? I’d think this HTML would get escaped, right? So it would not help…

  • The forum ‘Pinnacle Theme’ is closed to new topics and replies.