Allow Shortcodes in Text Widgets

Description

This plugin provides the option to enable/disable the usage of shortcodes in the default text widget provided by WordPress along with smilies if enabled for the blog.

Installation

Installation is simple and straight-forward:

  1. Unzip parse-shortcodes into to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Configure the plugin options under the 'Settings->Parse Shortcodes Options' menu in WordPress. Don't forget to Save Changes!

Frequently Asked Questions

I have set the option to parse smilies in the parse shortcodes options but they don't show up in the Text Widget

Make sure convert emoticons like :-) and :-P to graphics on display option is checked in the Settings->Writing option page. Also check and make sure you are using valid emoticons and that you are attempting to use shortcode in the default text widget provided by WordPress and not some other custom text widget provided by a different plugin.

Screenshots

Allow Shortcodes in Text Widgets Screenshot 1
This is the options screen showing the settings available with Allow Shortcodes in Text Widgets.

Changelog

1.0

  • Initial public release.

Licensing

The Allow Shortcodes in Text Widgets free WordPress plugin is licensed under the GNU Public License v2.0 (GPL2). You are free to use and modify the plugin as you see fit.

Donate

Coders love caffeine — and I’m no exception ;) If you like my free plugins, feel free to donate. Doing so allows me to continue work on this and other great WordPress plugins, themes, etc.



6 thoughts on “Allow Shortcodes in Text Widgets

  1. Pingback: Allow Shortcodes in Text Widgets WordPress Plugin

  2. Hi, I have tried the plugin with WP e-Commerce. Using their shortcodes I can get a single product and a “add to cart button” to appear on a page. 2 Shortcodes 1 for the product information, one for the button [wpsc_products product_id='41'][add_to_cart=41]

    When I add the same shortcodes to the text widget with your plugin activated and “parse shortcodes” set the first one is executed and the second one displays as text. [add_to_cart=41]

    • The best recommendation I can recommend is to close the first tag before adding the second. It should be passed into WordPress’s do_shortcode() function, and I suspect that, that function is somehow getting confused.

      I’d try:

      [wpsc_products product_id='41']stuff[/wpsc_products] [add_to_cart=41]stuff[/add_to_cart]

      and see if that works.

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>