Shortcode Widget

وضاحت

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.

تصوير

  • Shortcode Widget that can be found in Widgets section
  • Adding the widget to the sidebar
  • Widget with the output of the shortcode

انسٽاليشن

  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.

جائزا

21 آگسٽ 2018
I had to add a custom shortcode to one of my widget.. and it works fine! Thanks!
23 نومبر 2017 1 reply
The easiest plugin you'll ever use! Does exactly what it says on the tin.Thank you!
19 سيپٽمبر 2017
This functionality should be included in the WP Core. Thanks for this great plugin.
جمع: سڀ 33 تبصرا پڙهو

تعاون ڪندڙ & ڊولپرز

“Shortcode Widget” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.

تعاون ڪندڙ

جمع: “Shortcode Widget” 5 جڳهن ۾ ترجمو ڪيو ويو آهي. ترجمي ڪندڙن جي مهرباني سندن تعاون لاءِ.

ترجمو ڪريو “Shortcode Widget” توهان جي ٻولي ۾.

ڊولپمينٽ ۾ دلچسپي؟

ڪوڊ براؤز ڪريو، چيڪ ڪريو SVN مخزن، يا رڪنيت حاصل ڪريو ڊولپمينٽ لاگ پاران RSS.

لاگ تبدیل ڪريو

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.