Skip to content

Instantly share code, notes, and snippets.

@jdspiral
Last active November 18, 2015 04:49
Show Gist options
  • Save jdspiral/ce21723b4b26a7554cce to your computer and use it in GitHub Desktop.
Save jdspiral/ce21723b4b26a7554cce to your computer and use it in GitHub Desktop.
Enable Shortcode in widgets
// Enable Shortcode in widgets - Note: This is not recommended. This is plugin functionality.
add_filter('widget_text', 'do_shortcode');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment