Last updated on at 2:49 pm
You can add this to your function to enable your short code in widget without pain.
add_filter( 'widget_text', 'shortcode_unautop');
add_filter( 'widget_text', 'do_shortcode');
Last updated on at 2:49 pm
You can add this to your function to enable your short code in widget without pain.
add_filter( 'widget_text', 'shortcode_unautop');
add_filter( 'widget_text', 'do_shortcode');