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

Pages In Widgets

Описание

Pages In Widgets is a plugin that allows you to insert a the content of a page created in the normal WordPress pages interface into a widget.

This most helpful on theme where the from page is a serious of widget areas. By using this widget it allows you to edit widgets areas using the visual editor build into WordPress.

This plugin is open source (GPLv3), any changes can be contributed at https://github.com/JaydenMajor/Pages-In-Widgets

Скриншоты

  • Screenshot of the plugin working in a widget area.
  • New updated screenshot of the widget options.

Установка

Install From WordPress Repository

  1. Find and Install & activate Pages In Widgets
  2. To use go to widgets and drag & drop the Pages In Widgets widget to the selected section
  3. The widget will ask you to select a page and if you want to display the page title
  4. Save the content for the selected page will now be included in the widget section

Install Via Upload

  1. Download the Pages In Widgets plugin from either wordpress.org of jaydenmajor.com/plugins
  2. Upload, Install & activate Pages In Widgets
  3. To use go to widgets and drag & drop the Pages In Widgets widget to the selected section
  4. The widget will ask you to select a page and if you want to display the page title
  5. Save the content for the selected page will now be included in the widget sectiion

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

Why did you developed this plugin?

I developed this plugin because i found that i was writing HTML in text widgets and the sites needed to be edited by non technical people and inserting a page into a widget was the easiest way.

Can i use filters to change the plugin output?

Yes. There are two filters for each posts and pages output. For content postsinwidgets_content and pagesinwidgets_content as well as pagesinwidgets_image and postsinwidgets_image for filtering images.

Отзывы

26.05.2020
Only Title appears, and then nothing. Page is simple text with few images. <div class=»homepage_section»> </div> in between blank. Does not load page at all.
24.03.2020
This plugin works perfectly because sometimes you just can’t get those specific sections/widgets on the homepage looking the way you want, niice 😎 I actually combined mine with the Page Builder by SiteOrigin plugin to section the pages out for that part, and of course this Pages In Widgets plugin to get the page/section/widget right where I need it.
09.06.2018
this plugin perfectly insert the pages to widget, works best with footer widget for me. So, i can managed the content with favourite page builder.
02.02.2017
This is a great plugin, and made it much easier for me to create complex page structures yet still provide a usable update mechanism for my client. Love it. I did have a problem for some months with this plugin apparently breaking other things and preventing other shortcodes from running (because disabling it or using an old version appeared to fix the presenting problem) and Jayde was helpful, letting me know each time a new version came out and asking if that fixed it. It turns out it must have been a ‘multi-factorial’ as, with recent updates to other plugins and WordPress itself, the problem has gone away.
Посмотреть все 9 отзывов

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

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

Участники

«Pages In Widgets» переведён на 7 языков. Благодарим переводчиков за их работу.

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

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

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

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

1.9.4

Release Data: March 6, 2020
* Feature — Include the option to sho private posts in the posts in pages widget

1.9.3

Release Date: December 17, 2019
* Bug Fix — Fixed an issue were the output of the post title would be an h4 even when configured otherwise. — This bug weas only posts and not for pages.

1.9.2

Release Date: December 13, 2019
* Bug Fix — Fixed an issue were the image output wasn’t being output.

1.9.1

Release Date: December 12, 2019
* Hot Fix — Bug that would have required to open the widget and save. Re saveing widgets no longer required.

1.9

Release Date: December 12, 2019
* Added Filters for both content and images.
* Thanks to @kzeni for provideing this update.

1.8

Release Date: July 31, 2019
* Added ability to change heading Type.
* Fixed some activation issues after updateing.

1.7

Release Date: May 03, 2016
* Added Widget to allow inserting of posts into widgets areas
* Changed plugin structure to better support the above changes
* Changed the way the plugin queries for pages and posts — Should help with some peoples problems with the plugin

1.6.1

  • Updated Widget to add adisional checks.
  • Changed the way the plugin outputs data to display the page.

1.6

Release Date: Dec 29, 2015
* Added Output Type Selection
* By Default keep html page formatting i.e. previous version just removed some html tags

1.5

Release Date: Dec 06, 2015
* i18n: Use translate.wordpress.org to translate the plugin.
* i18n: Update textdomain, same as the plugin slug.
* Add phpDocs.

1.4

Release Date: Nov 18, 2015
* Added Custom class opton.

1.3

Release Date: Oct 16, 2015
* Security: Prevent direct access to php files.
* Security: Prevent direct access to directory.
* i18n: Add translation functions.

1.2.1

  • Changed widget title form Page Widget -> Pages In Widget.

1.2

Release Date: Aug 11, 2015
* Bug Fix: Move away from using PHP 4 style constrictors — Needed for wordpress 4.3.

1.1

Release Date: May 13, 2015
* Bug Fix: Fixed issue were widget appeared to loose preferences. (No preferences were lost this was just a display error).

1.0

Release Date: May 12, 2015
* Initial release.