Discover, trust, install: FAIR 1.0 is here

Plugin Banner

Shortcode Widget

by Gagan Deep Singh

Version: 1.5.3

Download
Description

Adds a text-like widget that allows you to write shortcode in it. (Just whats missing in the default text widget)
To test the widget you can add the widget and use the shortcode “[shortcode_widget_test]”, it will display “It works” on the frontend and this will confirm the widget does work.

  1. Add the plugin’s folder in the WordPress’ plugin directory.
  2. Activate the plugin.
  3. You are now ready to use the Shortcode Widget from the Widgets section.
  4. To test the widget you can add the widget and use the shortcode “[shortcode_widget_test]”, it will display “It works” on the frontend and this will confirm the widget does work.
  1. Shortcode Widget that can be found in Widgets section

    Shortcode Widget that can be found in Widgets section

  2. Adding the widget to the sidebar

    Adding the widget to the sidebar

  3. Widget with the output of the shortcode

    Widget with the output of the shortcode

Awesome plugin

By DestinationUkiyo (duluna) on September 14, 2019

Works great! Super easy, thank you!

Useful Plugin

By sonsuzteknoloji on September 8, 2019

I use this plugin very often

It works fine!

By junglesub on August 21, 2018

I had to add a custom shortcode to one of my widget.. and it works fine! Thanks!

Perfect

By petejrawlings on November 23, 2017

The easiest plugin you'll ever use! Does exactly what it says on the tin.Thank you!

Simple and awesome

By franboud on September 19, 2017

This functionality should be included in the WP Core. Thanks for this great plugin.

That was easy

By mikerich on July 26, 2017

Thanks. Very easy to set up.

Perfect

By Cabrero (cabrero) on July 20, 2017

Perfect

The plain text widget is back with this one

By EduardoWB on July 11, 2017

If you upgraded your WP to 4.8 all your shortcodes are going to break! The tinymce is adding breaking tags and modifying content as it please because the visual editor. Using the Text tab of the editor does not help at all! Install this plugin and you won't need to hack your css to accomplish what you already did with the plain text widget before the upgrade. Thank you very much for the developer!

Perfect Replacement for Buggy New Text Widget

By burlingtonpress on June 19, 2017

If you're using text widgets and upgrade to WordPress v4.8, you're going to want to replace them with this. Otherwise, good luck with all the P tags WP will add to your text widget the next time you save it.

Saved my f*ckin' life

By Bence Bokor (bokorben) on June 13, 2017

THANKS MAN! Wordpress added our old friend to the widgets: Visual/Text editor. Yaay. I think it's buggy, because it adds p tags to every new line even in the Text mode. Your plugin - after one hour of trying - saved my life by adding the default text functionality as a widget. Thank you. I like you.

1.5.3

  • Strict PHPCS ruleset adherence.
  • More documentation in widget class.
  • Testing with WordPress 5.6

1.5.2

  • Some PHPCS corrections, making code adhering to WordPress coding standards.
  • Replaced strip_tags function with wp_strip_all_tags.

1.5.1

  • Unescaped title back in the code as escaping it was creating issues with other plugins.

1.5

  • Added icon and screenshots.
  • Escaping some values that could have been overridden by the translations.
  • Added pot file for translations.
  • Change in calling of widget_text filter with new parameter that was added in WordPress 4.4.1

1.4

  • Updated compatibility with WordPress 4.8
  • Reversed the order of changelog.

1.3

  • Minor bug fix.
  • Changed tested up to version number.
  • Made it translation ready, constant was being used for text domains, silly error, I know 🙂

1.2

  • Corrections in text domain and added one more string as translatable.

1.1

  • Reflecting the changes that have been done to the default text widget over the years.

1.0

  • Tested with WP 4.0

0.3

  • Added a shortcode for testing the plugin ‘[shortcode_widget_test]’

0.2

  • Added translation support.

0.1

  • Added the shortcode widget.
  • Version:Version: 1.5.3
  • Active installs:Active installs: 10K
  • Last updated:Last updated: 9 months ago
  • Requires:Requires: 3.3
  • Tested:Tested: 6.7.2
Average rating:4.9 out of 5 stars.
  • Number of ratings: 31 ratings
  • Number of ratings: 1 ratings
  • Number of ratings: 0 ratings
  • Number of ratings: 1 ratings
  • Number of ratings: 0 ratings
Back to top