Visual Composer Shortcodes in Description
-
Hi Guys,
I’m really liking this plugin! You’ve done a great job.
My question is, is there a way to remove the visual compose (WPBakery) codes that are inserted in the product description. I see that your plugin does something with them already becase it spits out a random collection of characters like “JTNDYSUyMGlkJTNEJTIyUHJvZHVrdC1EZXRhaWxzJTIyJTIwY2xhc3MlM0QlMjJhLWxpbmstbm9ybWFsJTIyJTIwaHJlZiUzRCUyMiUyMyUyMiUzRSUzQyUyRmElM0U= JTVCc3Vwc3lzdGljLXRhYmxlcyUyMGlkJTNEODAlNUQ= ”
instead of the VC shortcodes.Is there a way of getting the shortcodes removed completely?
Thanks for your time and a great plugin!
Cheers
-
VC creates those random characters for certain shortcodes, like raw html. The right thing for the product feed would be to ignore/drop all shortcodes.
I agree Edward. The question remains how could this be accomplished?
Anyone know of a “hook” that could be used during the product feed generation that would allow the use of some custom code in functions.php?
Cheers
Hi webswift,
Thanks for using our plugin and reaching out to us.
The plugin should remove shortcodes. Could you give me some examples of shortcodes you are using and in what attributes you are using those so we can try tro reproduce the issue at hand?
All the best,
EvaHi Eva,
thanks for getting back to me. Here is a typical product description with all the Visual Composer (WPBakery) shortcodes.
—————————————————————————————[vc_row full_width="stretch_row_content" bg_type="bg_color" seperator_enable="seperator_enable_value" seperator_type="curve_up_seperator" seperator_position="top_bottom_seperator" seperator_svg_height="65" seperator_shape_background="#f8bd19" el_class="prod-description" css=".vc_custom_1555476889455{padding-right: 20px !important;padding-left: 20px !important;}"][vc_column][vc_raw_html]JTNDYSUyMGlkJTNEJTIyUHJvZHVrdC1EZXRhaWxzJTIyJTIwY2xhc3MlM0QlMjJhLWxpbmstbm9ybWFsJTIyJTIwaHJlZiUzRCUyMiUyMyUyMiUzRSUzQyUyRmElM0U=[/vc_raw_html][vc_row_inner equal_height="yes" content_placement="top" css=".vc_custom_1555526606122{padding-top: 60px !important;padding-bottom: 20px !important;}"][vc_column_inner offset="vc_col-lg-6 vc_col-md-6"][vc_raw_html]JTVCc3Vwc3lzdGljLXRhYmxlcyUyMGlkJTNENzglNUQ=[/vc_raw_html][vc_custom_heading text="Eignung und Verwendungsm?glichkeiten" font_container="tag:h3|text_align:left" use_theme_fonts="yes"][vc_column_text] <ul style="margin-left: 20px;"> <li>Zum gesunden Sü?en von Getr?nken, Speisen, und zum Backen, aber auch als Brotaufstrich</li> </ul> [/vc_column_text][/vc_column_inner][vc_column_inner offset="vc_col-lg-6 vc_col-md-6"][vc_empty_space height="30px"][vc_single_image image="14172" img_size="full" alignment="center" style="vc_box_rounded"][vc_empty_space height="20px"][vc_custom_heading text="Geographischer Ursprung dieses Honigs" font_container="tag:h3|text_align:left" use_theme_fonts="yes"][vc_single_image image="14178" img_size="full" add_caption="yes" alignment="center" style="vc_box_rounded"][vc_empty_space height="20px"][/vc_column_inner][/vc_row_inner][vc_row_inner content_placement="top" css=".vc_custom_1535400538429{padding-top: 20px !important;padding-bottom: 20px !important;}"][vc_column_inner offset="vc_col-lg-6"][vc_empty_space height="12px"][vc_single_image image="14173" img_size="full" add_caption="yes" alignment="center" style="vc_box_rounded"][/vc_column_inner][vc_column_inner offset="vc_col-lg-6"][vc_empty_space height="12px"][vc_custom_heading text="Dieser Honig ist ein Spiegelbild des Geschmacks der Deutschen Landschaft" font_container="tag:h3|text_align:left" use_theme_fonts="yes"][vc_column_text]In faszinierendem Raps-Gelb leuchten die Felder im April und Mai, wenn die Bienen die bet?rend duftende Raps-Blüten-Meer befliegen, und dabei leckeren Blütennektar und wertvollen Blütenpollen heim in den Stock tragen. Der helle und feinst-kristalline Raps-Honig hat einen perlmuttartig schimmernden Glanz, und ein sehr mildes und einzigartiges Honig Aroma. Von flei?igen Bienen und deren Imkern mit viel Feingefühl und viel Handarbeit regional gewonnen und abgefüllt, zum Wohle aller.[/vc_column_text][vc_empty_space height="12px"][/vc_column_inner][/vc_row_inner][vc_row_inner equal_height="yes" content_placement="middle" css=".vc_custom_1535383104140{padding-top: 10px !important;padding-bottom: 20px !important;}"][vc_column_inner offset="vc_col-lg-4 vc_col-md-6"][vc_empty_space height="20px"][vc_single_image image="14175" img_size="full" add_caption="yes" alignment="center" style="vc_box_rounded"][/vc_column_inner][vc_column_inner offset="vc_col-lg-4 vc_col-md-6"][vc_empty_space height="20px"][vc_single_image image="14176" img_size="full" add_caption="yes" alignment="center" style="vc_box_rounded"][/vc_column_inner][vc_column_inner offset="vc_col-lg-4"][vc_empty_space height="20px"][vc_single_image image="14177" img_size="full" add_caption="yes" alignment="center" style="vc_box_rounded"][/vc_column_inner][/vc_row_inner][vc_row_inner equal_height="yes" content_placement="middle" css=".vc_custom_1527443962893{padding-top: 10px !important;padding-bottom: 20px !important;}"][vc_column_inner][vc_column_text css=".vc_custom_1556114910647{margin-top: 45px !important;margin-right: 15% !important;margin-bottom: 20px !important;margin-left: 15% !important;}"] <blockquote>Dieser Honig ist ein Spiegelbild des Geschmacks der Deutschen Landschaft, und besitzt ein mildes, auch bei Kindern sehr beliebtes Honigaroma.??<strong>Tun Sie sich, den Bienen und den Imkern etwas Gutes, kaufen und genie?en Sie diesen hervorragenden Rapsblüten-Honig.</strong></blockquote> [/vc_column_text][vc_empty_space height="35px"][vc_single_image image="14174" img_size="full" alignment="center" style="vc_box_rounded"][vc_empty_space height="45px"][vc_single_image image="14114" img_size="full" alignment="center" style="vc_box_rounded"][vc_empty_space height="45px"][vc_single_image source="external_link" external_img_size="full" alignment="center" custom_src="https://bio-honig.com/wp-content/images//Qualitaet-Schild-100px.jpg" caption="Sichere Bestellung"][/vc_column_inner][/vc_row_inner][vc_empty_space height="55px"][/vc_column][/vc_row]
—————————————————————————————
I hope that helps.
It seems to me that it’s the RAW HTML that is not getting filtered out. Basically everything between the begin of the raw html code and the end raw html code should also be removed.
It’s that Raw HTML encoded stuff that is making it into the product feed.
Cheers, Markus
Thanks for looking into this.
Cheers, Markus
Hi Markus,
Thanks for this, very helpful. When I copy/paste your shortcodes into a product description it ends up like this in my product feed:
https://www.dropbox.com/s/0r9ndpt4k29ljc1/bakery-stripped.png?dl=0
So it seems to me it does strip off all shortcodes, also the vc_raw_html tagging itself. We’ll look into if we can somehow remove the content in between the the vc_raw_html tagging too.
We’ll keep you posted.
Best,
EvaHi Eva,
yes, that’s exactly how it looks on my side. I compliment your team of having the foresight of stripping shortcodes – brilliant.
For now i will have to delete the raw hrml manually (from a download file). If you could remove the “encoded HTML” itself, well, that would be awesome. I’m sure I could convince my client to purchase the elite version if I can demonstrate that everything uploads to the merchant center flawlessly.
Thanks for your quick response and your excellent support!
Cheers, Markus
Hi Markus,
Thanks for your kind words and constructive feedback, much appreciated.
Could you try updating to version 7.1.7 of our plugin (just released), it should solve the issue at hand.
Please let us know if this helped.
All the best,
EvaHi Eva,
I installed the newest version and it worked like a charm!! A clean feed.
You guys are amazing! Very responsive to your customers.
Thanks a million. My client will be getting the elite version tomorrow.
Cheers, Markus
Hi Markus,
Good to hear the issue at hand has been solved.
Thanks again for your detailed information which helped us getting this solved fast. It’s only because of users like you we can improve our plugin, thanks again!
All the best,
Eva
- The topic ‘Visual Composer Shortcodes in Description’ is closed to new replies.