Shortcode content is empty, another shortcode is displ. with unexpected result
-
Hello Jose,
Thanks for the great plugin.
I ran into a problem – if I insert another shortcode into the plugin shortcode – it doesn’t show up or has an unexpected result.
I will describe 2 situations that I encountered.
1. When using the code to display “last viewed items” ( code below ). I add the shortcode: [recently_viewed_products] and display the content of the shortcode:
[content_no_cache id=”11344″].The unexpected result is that the column output breaks. Instead of 6 set outputs 4.
I tried to display [content_no_cache id=”11344″ request=”remote”] – in this case, the content is not displayed at all.
2. I decided to use in conjunction with
Your plugin + Geotargeting Plugin https://ru.ww.wp.xz.cn/plugins/wt-geotargeting/ (displays content as a shortcode) + estimated delivery plugin. https://ww.wp.xz.cn/support/plugin/estimated-delivery-for-woocommerce/ (also shortcode)
It turns out that in order not to cache part of the content, I placed the “content no cache” plugin shortcode on the product page.
In the “content no cache” plugin shortcode, I put the content inside:
[wt_geotargeting city_show=”Milano”]<div>Estimate delivery: [estimate_delivery] </div>[/wt_geotargeting]
[wt_geotargeting city_show=”Rome”]<div>Estimated delivery: 3 days</div>[/wt_geotargeting]The text is displayed completely. But the [estimate_delivery] shortcode content is empty. I tried [content_no_cache id=”11347″ request=”remote”] but it didn’t work.
The plugin uses ajax – but I disabled this setting, which should have solved this issue.
Please tell me what I need to do to make everything work perfectly?
Thanks again for the plugin and for your work!
The topic ‘Shortcode content is empty, another shortcode is displ. with unexpected result’ is closed to new replies.