Widget Shortcode

Description

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

Captures d’écran

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

Installation

  1. Upload the whole plugin directory to the /wp-content/plugins/ directory
  2. Activez-la via le menu Extensions dans l’admin WordPress
  3. That’s it. Use the [widget] shortcode anywhere you want
  4. Profitez !

FAQ

Installation Instructions
  1. Upload the whole plugin directory to the /wp-content/plugins/ directory
  2. Activez-la via le menu Extensions dans l’admin WordPress
  3. That’s it. Use the [widget] shortcode anywhere you want
  4. Profitez !

Avis

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

Works flawlessly

Click clack, added my really sophisticated menu widget on a custom place … Great plugin! Thank you.

Lire les 48 avis

Contributeurs & développeurs

« Widget Shortcode » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

“Widget Shortcode” a été traduit dans 2 locales. Remerciez l’équipe de traduction pour ses contributions.

Traduisez « Widget Shortcode » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal

0.3.0

  • Fix possible notice message

0.2.9

  • Fix notice messages regarding unregistered widgets

0.2.8

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

0.2.7

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

0.2.6

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

0.2.5

  • Fix notice message if widget is inactive

0.2.4

  • Shortcode generator in TinyMCE
  • i18n
  • Minor code refactoring

0.2.3

  • Fixed missing widget classes and ID from before_widget

0.2.2

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

0.2.1

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

0.2

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