WidgetShortcode WordPress Plugin
Want to use shortcodes in your sidebar? Now you can. Simply install and activate WidgetShortcode and you can start adding shortcodes to the standard Text widget on your sidebar.
In the past you would need to edit functions.php in your theme to get this functionality. Now you no longer need to worry about modifying the file or changing themes causing your sidebar to break.
- Download the WidgetShortcode plugin and extract it into the wp-content/plugins directory. This should create a widget-shortcodes subdirectory.
- In the Plugins menu, activate WidgetShortcodes.
- Relax and enjoy!
There are no settings for the plugin — it works as soon as it’s activated. To turn it off deactivate the plugin.
This has currently only been tested in WP 2.9.2. I can’t see why it wouldn’t work in older versions that support shortcodes (I believe 2.5 was the first) and the Text widget.
The plugin is licensed under GPL version 3.
This plugin works by hooking do_shortcode to the widget_text filter. It also hooks shortcode_unautop if that function exists. This should help in older versions.
There are no settings for this plugin.
If you would like to donate towards this plugin feel free to use the PayPal button below to do so.