Shortcode not working in (special) widget
-
I’m using this plugin to put mla_gallery shortcode in a widget. The shortcode is designed to show a random image from some nested attachment categories. I had to use an ajax widget plugin/method in order to prevent page caching of a single image.
The plugin works by putting the raw contents of the widget text (base64_encoded) into data attribute on a DIV, then uses jquery/ajax to pass that content back in and display it. The do_shortcode is done after it is passed back through.
It worked before the update so I assume you are doing some detection of the plugin needing to be loaded or not or delayed loading of some sort.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Shortcode not working in (special) widget’ is closed to new replies.