Aquesta extensió no s’ha provat en les darreres 3 versions majors del WordPress. Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat quan s’usa en versions recents del WordPress.

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 de agost de 2018
I had to add a custom shortcode to one of my widget.. and it works fine! Thanks!
23 de novembre de 2017 1 resposta
The easiest plugin you’ll ever use! Does exactly what it says on the tin.Thank you!
19 de setembre de 2017
This functionality should be included in the WP Core. Thanks for this great plugin.
Llegiu totes les 33 ressenyes

Col·laboradors i desenvolupadors

«Shortcode Widget» és programari de codi obert. La següent gent ha col·laborat en aquesta extensió.


“Shortcode Widget” s’ha traduït a 5 configuracions regionals. Gràcies als traductors per les seves aportacions.

Traduïu «Shortcode Widget» a la vostra llengua.

Interessats en el desenvolupament?

Navegueu pel codi, baixeu-vos el repositori SVN, o subscriviu-vos al registre de desenvolupament per fisl de subscripció RSS.

Registre de canvis


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


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


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


  • 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


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


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


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


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


  • Tested with WP 4.0


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


  • Added translation support.


  • Added the shortcode widget.