Can I use a plugin in a widget?

Just place the shortcode into a text widget. If that doesn’t work (it just renders your shortcode in text) then that means your theme isn’t ‘widgetized’ which you can fix easily by adding 1 tiny piece of code to your theme functions.php:

add_filter('widget_text', 'do_shortcode');

Add this code above to fuctions.php A good place would be either at the very top or the very bottom of the file. Once you’ve done this you should be able to use shortcode in widgets now.

Looking for help?

Our support staff are ready to help with any technical issues

Submit a support ticket