Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Allow the use of shortcodes in widget areas
<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.
//* Allow the use of shortcodes in widget areas
add_filter('widget_text', 'do_shortcode');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.