Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

WordPress Widgets Shortcode

Описание

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

Скриншоты

  • 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

Установка

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

Часто задаваемые вопросы

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

Отзывы

03.09.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.
03.09.2016 1 ответ
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!
Посмотреть все 8 отзывов

Участники и разработчики

«WordPress Widgets Shortcode» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «WordPress Widgets Shortcode» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

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