Skip to content

Instantly share code, notes, and snippets.

@jasonbraun
Last active April 11, 2017 19:31
Show Gist options
  • Save jasonbraun/8530b111af347f15f1513c67e72c1587 to your computer and use it in GitHub Desktop.
Save jasonbraun/8530b111af347f15f1513c67e72c1587 to your computer and use it in GitHub Desktop.
Add the ability to use shortcodes in widgets
<?php
//* Add the ability to use shortcodes in widgets
add_filter( 'widget_text', 'do_shortcode' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment