Shortcodes in Text Widgets

 In Shortcode

Shortcodes in Text Widgets

Widgets are great, but you can make them even better by enabling shortcodes in them with this filter:

add_filter( 'widget_text', 'do_shortcode' );
Recommended Posts

Leave a Comment

Start typing and press Enter to search