這個外掛並未在最新的 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.

使用者評論

2020 年 5 月 26 日
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.
2020 年 3 月 24 日
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.
2018 年 6 月 9 日
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.
2017 年 2 月 2 日
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 外掛目前已有 6 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈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.