Hi Support,
I am using a subtitle plugin on the shop page and after updating the template to 5.2.0 woodmart/woocommerce/single-product /title.php does not work.
You have formatted the HTML subtitle correctly with this old content:
* Single Product title
* @version 1.6.4
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
$is_quick_view = woodmart_loop_prop( 'is_quick_view' );
?>
<h1 itemprop="name" class="product_title entry-title"><?php if( $is_quick_view ): ?><a href="<?php the_permalink(); ?>"><?php endif; ?><?php the_title(); ?><?php if( $is_quick_view ): ?></a><?php endif; ?></h1>
After the update, the full HTML code will be displayed in the subtitle:
* Single Product title
* @version 4.4.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
?>
<h1 class="product_title entry-title">
<?php echo esc_html( get_the_title() ); ?>
</h1>
If i upload the old v1.6.4 woocommerce/single-product/title.php file to the child theme folder, the subtitle will work again.
Please help me fix it,
Thanks
Attachments:
You must be
logged in to view attached files.