• Resolved justin77

    (@justin77)


    Great plugin!!

    My descriptions are showing the html in google shopping (ie: [gap height=”47px”] [section] [row h_align=”center”] [col span=”3″ span__sm=”8″ align=”left”] [featured_box img=”5836 …).

    How do i remove?

    Thanks again for your hard work

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter justin77

    (@justin77)

    Sorry, wrong topic ??

    Plugin Author AukeJomm

    (@aukejomm)

    Hello @justing77

    You can use our wordpress filter to strip those tags.
    Try the next code to remove shortcodes and markup codes

    
    <?php
    
    function alter_feed_item( $attributes, $feed_id, $product_id ) {
    
            // If you have shortcodes in your product description you can remove them with het next code
    	// Remove WordPress shortcodes from Description
    	$attributes['description'] = strip_shortcodes( $attributes['description'] );
    	
    	// If you use Visual Composer markup in your product descrioptions you can remove Visual Composer markup with the next code.
    	$attributes['description'] = preg_replace("/\[(\/*)?vc_(.*?)\]/", '', $attributes['description'] );
    	
    	// IMPORTANT! Always return the $attributes
    	return $attributes;
    }
    
    add_filter( 'wppfm_feed_item_value', 'alter_feed_item', 10, 3 );
    
    Thread Starter justin77

    (@justin77)

    Thank you but what is the wordpress filter? Where do i enter the code you sent?

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    If you’re not familiar with using filters in your wp-admin, the best and easiest way to do this is by using a plugin like “Code Snippets” (https://www.ads-software.com/plugins/code-snippets/). And here you can find a great video explaining the use if this plugin https://www.youtube.com/watch?v=I1_ZqnQmwJs.

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    Hello @justin77,

    Where you able to solve the issue using the filter?

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    Hi @justin77,

    I hope we were successful in helping you resolve your issue with our Feed Manager plugin! Since we have not heard back from you in the past 2 weeks and we don’t want to leave tickets open forever, I will now be marking this support topic as resolved. However, if we still haven’t resolved your issue please reach out to us as we would be more than happy to further assist you!

    Thanks and have a great day!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘HTML showing in Google Shopping’ is closed to new replies.