Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

WordPress Widgets Shortcode

Mô tả

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

Ảnh màn hình

  • 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

Cài đặt

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

Hỏi đáp

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

Đánh giá

3 Tháng Chín, 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 Tháng Chín, 2016 1 reply
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 Tháng Hai, 2017
Just what was needed. Thank you!
Đọc tất cả 8 đánh giá

Người đóng góp & Lập trình viên

“WordPress Widgets Shortcode” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

Nhật ký thay đổi

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