Google Merchant – Elementor -Shortcodes remove

Hi,

To design the product description layout, I use Elementor and leave my tags in the description in Google Merchant. I use the official Google Listings & ADS plugin

Example

/*! elementor – v3.14.0 – 18/06/2023 */
.elementor-heading-title{padding:0;margin:0;line-height:1}.elementor-widget-heading .elementor-heading-title [class*=elementor-size-]>a{color:inherit;font -size:inherit;line-height:inherit}.elementor-widget-heading .elementor-heading-title.elementor-size-small{font- size:15px}.elementor-widget-heading

I would like to remove it somehow, I found a relatively satisfactory solution. I would like to replace the full description with a shortened one.

I’m trying to use the code

add_filter( “woocommerce_gla_use_short_description”, “__return_true” );

When I paste it into a PHP function it does nothing. Should I put this code somewhere else, such as the Google Listings & Ads plugin code?

Maybe you know some other solution, e.g. a setting directly in the elementor?

I’m asking for help as a beginner, I’m building my first store.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer