Last active
December 24, 2015 19:39
-
-
Save timoleinio/6852223 to your computer and use it in GitHub Desktop.
Allow WordPress shortcodes in widgets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: WP-Opas Helper Plugin | |
Plugin URI: http://wpopas.fi/ | |
Description: Allow shortcodes in widgets. | |
Version: 1.0 | |
Author: Timo Leiniö | |
Author URI: http://wpopas.fi/ | |
*/ | |
add_filter('widget_text', 'do_shortcode'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment