Code
This file contains 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 | |
if ( !is_admin() ){ | |
add_filter('widget_text', 'do_shortcode', 11); | |
} | |
?> |
Note
Description | do_shortcodeを使って、ウィジェット内でショートコードを利用出来るようにする。 |
---|---|
WordPress Ver. | 3.3.1 |
Via | stackexchange |