Custom Shortcodes output as text
-
I have a problem, specifically using borlabs cookie plugin. On a specific page I have created a custom ACF block that outputs a leafeltmap that is conditionally wrapped in a shortcode provided by the borlabs content blocker, which is:
echo do_shortcode( '[borlabs-cookie id="open-street-map-leaflet-map" type="content-blocker"] <div id="map-' . $id . '" style="height:' . $height . 'px;"></div>[/borlabs-cookie]');
However, even if I exclude the selector or string in advanced options, the shortcode is output as text on the frontend in the translated language. I have not found a way to exclude the shortcode of being transformed into text.
So instead of showing the content blocker the shortcode is dispalyed as text on the page.
How can I work around this issue?
Best regards
Julian
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- You must be logged in to reply to this topic.