Jump to content

Archived

This topic is now archived and is closed to further replies.

Brian

Shortcodes in Widgets

Recommended Posts

Brian

I noticed by default, shortcodes aren't working in widgets with PL5 (without adding the filter below to your functions.php).

add_filter( 'widget_text', 'do_shortcode' );

 

Share this post


Link to post
Share on other sites
Simon

I guess the framework theme could add that filter...

If we add it to the plugin and you are using another theme that also adds that filter you would get the shortcodes rendered twice..

Thoughts anyone?

Share this post


Link to post
Share on other sites

×