Cette extension n’a pas été testée avec plus de trois mises à jour majeures de WordPress. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

WordPress Widgets Shortcode

Description

The plugin allows you to embed any WordPress Widget area/Dynamic Sidebar to your WordPress posts

What you can do:

  • Use the shortcode to embed widget areas in posts
  • Use the shortcode to embed Widget areas in Pages
  • The widgets can be embedded anywhere, at the begining of content, middle, bottom or where ever you want. Just put the shortcode there.

Please leave a comment here at BuddyDev.com

Others

For more info, please visit us at BuddyDev.com

Captures d’écran

  • List of widgets areas in WordPress Appearance->Widgets screenshot-1.png
  • An example on how to embed the widget area in post edit screen screenshot-2.png
  • An example of the output in the middle of the post content screenshot-3.png

Installation

This section describes how to install the plugin and get it working.

e.g.

  1. Download wp-widgets-shortcode.zip and unxip it
  2. Upload wp-widgets-shortcode to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Now, you can start embedding the widget areas

FAQ

What is the use of this plugin?

It gives you the flexibility to embed any widget area(dynamic sidebar) to your posts/pages. Use it as you want. Your imagination is the only limit.

Need support or want to say thanks?

Please leave a comment here BuddyDev.com

Avis

3 septembre 2016
I typically add widgets to my template files using the below code: <?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘The Name Of Sidebar Goes Here’) ) : ?> <?php endif; ?> but this plugin is very useful if you want to add within the post/page content itself.
3 septembre 2016 1 réponse
Thank you so much for this plugin! I just used the ID from the register_sidebar() in the functions.php file and it worked perfectly. I tried using Widgetize Pages before, but then the widgets didn’t have any permanent ID’s so this plugin was much better!
7 février 2017
Just what was needed. Thank you!
Lire les 8 avis

Contributeurs/contributrices & développeurs/développeuses

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

Contributeurs

Journal

1.0.3

  • Code cleanup

1.0.2

  • Fix the issue is_active_sidebar not recognizing the sidebar by name

1.0.1

  • Use trim function to remove any space in the name of the widget area.

1.0

  • Initial release