Описание
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
Скриншоты
Установка
Install From WordPress Repository
- Find and Install & activate Pages In Widgets
- To use go to widgets and drag & drop the Pages In Widgets widget to the selected section
- The widget will ask you to select a page and if you want to display the page title
- Save the content for the selected page will now be included in the widget section
Install Via Upload
- Download the Pages In Widgets plugin from either wordpress.org of jaydenmajor.com/plugins
- Upload, Install & activate Pages In Widgets
- To use go to widgets and drag & drop the Pages In Widgets widget to the selected section
- The widget will ask you to select a page and if you want to display the page title
- 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
andpagesinwidgets_content
as well aspagesinwidgets_image
andpostsinwidgets_image
for filtering images.
Отзывы
Участники и разработчики
«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.