David Stockdale's Scrapcode

Making Shortcode Work In “Custom HTML Block”?

Want to force shortcode to work in a Custom HTML Block?

add_filter( 'widget_text', 'shortcode_unautop');
add_filter( 'widget_text', 'do_shortcode');

This code will do it!

Leave a Reply