Home › Forums › Support › Subtitle woocommerce This topic has 7 replies, 2 voices, and was last updated 5 years, 8 months ago by Tom. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts August 13, 2018 at 6:48 pm #647429 Edwin Hi I am using the plugin “KIA subtitle to show a subtitle under each product in woo-commerce. This is the code to show the the subtitle under each product, but not sure where to put it in the generate press theme. <?php if( function_exists( ‘the_subtitle’ ) ) the_subtitle( ‘<h2 class=”subtitle”>’, ‘</h2>’ ); ?> It is working for page titles when i add it to “After Entry Title Hook” Thanks Edwin August 13, 2018 at 7:57 pm #647468 TomLead Developer Lead Developer Hi there, You’re wanting to display that under the product, or under the product title? Check out GPP 1.7 (in public testing, being released tomorrow): https://generatepress.com/gp-premium-1-7/ The new hook system has WooCommerce hooks baked right in ๐ August 13, 2018 at 9:14 pm #647502 Edwin Hi Tom The new function is great. Makes it so much simpler. I would like to show under title, but didn’t see the hook for that. August 14, 2018 at 10:10 am #648024 TomLead Developer Lead Developer Try this hook: woocommerce_single_product_summary Then set the priority to: 6 Let me know ๐ August 14, 2018 at 6:33 pm #648532 Edwin Hi Tom No, that didn’t work, it also breaks the single page design. August 14, 2018 at 7:22 pm #648584 TomLead Developer Lead Developer And you’re sure the HTML being output by the function is valid? It definitely shouldn’t break anything. Can you link me to the page? August 14, 2018 at 8:50 pm #648661 Edwin Hi Tom I got it to work with short-code for single page, but don’t get it to work in the category and shop page. https://visualdevelopment.com.au/covertel/product-category/fiber-cleaning/ August 14, 2018 at 11:50 pm #648732 TomLead Developer Lead Developer I believe you’d need to use this hook for that: woocommerce_after_shop_loop_item_title Author Posts Viewing 8 posts - 1 through 8 (of 8 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In