Widget Shortcode


The shortcode requires the widget ID, but no need to guess, the plugin generates the code for you. To override the widget title for a widget you can use the “title” parameter:
[widget id=”text-1″ title=”New title”]
You can also hide the widget title entirely if desired:
[widget id=”text-1″ title=”0″]

Additional Parameters:

  • container_tag: the HTML tag to use for the widget container, default: div
  • container_class: CSS classname added to the widget container, default: widget %2$s (Note: uses sprintf for variable substitution)
  • container_id: HTML ID attribute for the widget container, default: %1$s (Note: uses sprintf for variable substitution)
  • title_tag: HTML tag to use for the widget title wrapper, default: h2
  • title_class: CSS classname for the widget title wrapper, default: widgettitle

Imagens de tela

  • The plugin generates the shortcode for you
  • The shortcode generator in TinyMCE editor


  1. Upload the whole plugin directory to the /wp-content/plugins/ directory
  2. Ative o plugin por meio do menu “Plugins” no WordPress
  3. That’s it. Use the [widget] shortcode anywhere you want
  4. Aproveite!


Installation Instructions
  1. Upload the whole plugin directory to the /wp-content/plugins/ directory
  2. Ative o plugin por meio do menu “Plugins” no WordPress
  3. That’s it. Use the [widget] shortcode anywhere you want
  4. Aproveite!


SUPER handy!

This is an ingenious idea! I can manually code this type of stuff, but this makes getting your widgets to appear almost anywhere so much easier!

Thanks, Hassan!

Great addition to website design control

Love it as a complimentary design feature providing flexibility!!

I found a good (Plugin) widget called “Recent Posts with Thumbnails” and by using your great [Widget Shortcode], I can place this widget (Recent Posts with Thumbnails) right into a page or anywhere. Thus not being limited to using a sidebar….wonderful.

Just one issue is (I might be a little tired!!!!) it took me a while after activating the Plugin to actually find where it installed too. Surprisingly after searching for a while….found it in Widgets right across on the right hand side of the dashboard in it’s own little box – labelled “Widget Shortcode”.

Once found, it took all of 20 seconds to load my desired widget to your “Widget Shortcode”, enter my fields then scroll to the bottom and grab the resultant shortcode and bingo all done.

Hope the above tip helps others find it easier once activated.

Cheers Dennis

best shortcode plugin

best widget shortcode plugin. just add one more feature i am not able to link the custom url to open in new window. please add this feature in the plugin update.

it’s just working like charm

this plugin saved my life, my theme has conflict with woocommerce, I just used a normal homepage template and added widgets as shortcuts, it’s just working.. thank you

Leia todas as 53 avaliações

Contribuidores e desenvolvedores

“Widget Shortcode” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.


“Widget Shortcode” foi traduzido para 2 localidades. Obrigado aos tradutores por suas contribuições.

Traduzir “Widget Shortcode” para o seu idioma.

Interessado no desenvolvimento?

Navegue pelo código, dê uma olhada no repositório SVN ou assine o registro de desenvolvimento via RSS.

Registro de alterações


  • Additional CSS classes to the widget wrapper


  • Fix bug with getting correct widget instance. Thanks @frankieandshadow!


  • Fix possible notice message


  • Fix notice messages regarding unregistered widgets


  • Fix bug where widget titles do not show. Thanks @websitedons!


  • update how the shortcode code is displayed to avoid potential problems; thanks @websitedons!


  • Fix for possible notice message
  • Additional parameters to control the widget output


  • Fix notice message if widget is inactive


  • Shortcode generator in TinyMCE
  • i18n
  • Minor code refactoring


  • Fixed missing widget classes and ID from before_widget


  • Fixed a bug with removing titles from widget
  • Compatibility with Widget Title Links and other plugins that change the widget args


  • Added the ability to override the widget title in shortcode
  • Support for filtering the default widget args
  • Cleared the PHP notice


  • Added do_widget function
  • Added the ‘title’ option which enables to suppress the widget title