Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

WordPress Widgets Shortcode

Beskrivning

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

Skärmdumpar

  • 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

Vanliga frågor

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

Recensioner

3 september 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 september 2016 1 svar
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 februari 2017
Just what was needed. Thank you!
Läs alla 8 betyg

Bidragsgivare och utvecklare

”WordPress Widgets Shortcode” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Ändringslogg

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