[WordPress] 外掛分享: Flexible Posts Widget

WordPress 外掛 Flexible Posts Widget 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Flexible Posts Widget」是 2012-04-19 上架。
  • 目前有 10000 個安裝啟用數。
  • 上一次更新是 2017-11-28,距離現在已有 2714 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.2 以上版本才可以安裝。
  • 有 57 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

dpe415 |

外掛標籤

tags | posts | widget | widgets | categories |

內容簡介

預設近期文章小工具非常簡單。我常常需要一個簡單的方法,能夠輕鬆地顯示任意文章類型或分類法的文章精選內容。這就是彈性文章小工具的由來。

彈性文章小工具 (FPW) 不僅只是預設近期文章小工具的簡單替代品。它擁有許多選項,高度可自訂化並允許高級使用者以基本無限的方式來顯示文章。

功能和選項

可自訂化的小工具標題
根據文章類型和/或分類法和/或該列表直接取得文章 ID 來獲得文章
控制所顯示文章的數量和偏移文章的數量
選擇文章內特色圖片的尺寸來顯示現有的圖片大小:縮略圖、中號、大號、內文特色圖片或由目前主題定義的任何大小
根據發布日期、修改日期、ID、標題、菜單順序、隨機、文章 ID 進行排序,並按昇冪或降序排列文章
可以透過使用者定義的模板自訂每個小工具的輸出內容。模板需置於目前主題資料夾內
多語言支援。可以兼容WPML和PolyLang。尚未與其他多語言外掛程式進行測試,但應該可以正常運作。

外掛程式勾子

彈性文章小工具目前有兩個公開勾子:

過濾器:dpe_fpw_args 在提交小工具文章查詢之前允許過濾查詢變量。
過濾器:dpe_fpw_template_{$template_name} 用於過濾顯示小工具輸出時使用的模板檔案路徑。

未來更新和功能請求清單

使用搜尋框取代 ID 文字欄來取得文章 ID
短碼功能。
依作者獲取文章。
過濾當前正在查看的文章。
從同一個儲存庫 (術語/文章類型等) 獲取文章。
限制某段時間內的結果。

原文外掛簡介

The default Recent Posts widget is exceptionally basic. I always find myself in need of a way to easily display a selection of posts from any combination post type or taxonomy. Hence, Flexible Posts Widget.
Flexible Posts Widget (FPW) is more than just a simple alternative to the default Recent Posts widget. With many per-instance options it is highly customizable and allows advanced users to display the resulting posts virtually any way imaginable.
Features & options

Customizable widget title
Get posts by post type(s) and/or taxonomy & term(s) or directly by a list of post IDs.
Control the number of posts displayed and the number of posts to offset.
Option to display the post feature image.
Select the post feature image size to display from existing image sizes: thumbnail, medium, large, post-thumbnail or any size defined by the current theme.
Order posts by: date, modified date, ID, title, menu order, random, Post ID Order; and sort posts: ascending or descending.
Each widget’s output can be customized by user-defined templates added to the current theme folder.
Multi Language support. Compatible with WPML and PolyLang for sure. Not tested with other multi-language plugins, but it should work.

Plugin Hooks
Flexible posts widget currently has two public hooks:

Filter: dpe_fpw_args allows filtering the query vars before submitting the widget posts query.
Filter: dpe_fpw_template_{$template_name} filters the template file path used to display the widget output.

Future updates & feature requests list

Use search box instead of ID text field for post id’s
Shortcode functionality.
Get posts by Author.
Filter out the post currently being viewed.
Get posts from the same archive (term/post type/etc).
Limit results by a time period.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Flexible Posts Widget」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0 | 2.0 | 2.1 | 3.0 | 3.1 | 3.2 | 3.3 | 3.4 | 1.0.1 | 1.0.2 | 1.0.3 | 1.0.4 | 1.0.5 | 2.1.1 | 3.0.1 | 3.0.2 | 3.1.1 | 3.1.2 | 3.2.1 | 3.2.2 | 3.3.1 | 3.4.1 | 3.5.0 | trunk |

延伸相關外掛(你可能也想知道)

  • WP Shortcodes Plugin — Shortcodes Ultimate 》Shortcodes Ultimate 是一個全面的視覺與功能性元素收集,您可以在文章編輯器、文字小工具甚至是範本檔案中使用。使用 Shortcodes Ultimate,您可以輕鬆地建...。
  • Post Duplicator 》這個外掛是用來製作選定文章的完全一模一樣複製。它支援自訂文章類型、自訂分類和自訂欄位。, *注意: 評論不會被複製到新文章。, 這個外掛的目的是為了快速且...。
  • GenerateBlocks 》將不同的功能整合至編輯器,但並不會因為過多的一維方塊造成內容過於臃腫。使用 GenerateBlocks,您只需深入學習少量的方塊,即可用於創建任何內容。, Genera...。
  • YARPP – Yet Another Related Posts Plugin 》WordPress 相關文章外掛, Yet Another Related Posts Plugin (YARPP) 是一個經過專業維護、高度自訂和功能豐富的外掛程式,可以顯示與當前文章相關的頁面、文...。
  • WP Meta and Date Remover 》移除點擊文章的Meta、作者和日期。 安裝、啟用,完成!, 如何移除文章和頁面的作者Meta和日期?, , 安裝 WP Meta and Date remover。, 啟用外掛。, 選擇隱藏...。
  • WordPress Popular Posts 》WordPress Popular Posts 是一個高度可定製的小工具,可以顯示您最受歡迎的文章。, 主要特點, , 多小工具功能 – 您可以在您的博客上擁有多個 WordPress...。
  • Public Post Preview 》此外掛可讓您分享一個鏈接給匿名使用者,以便他們在發布前預覽文章(或其他公開文章類型)。, 您是否曾經與沒有訪問您網站權限的人共同撰寫文章,並需要給予...。
  • List category posts 》List Category Posts 可以讓你透過使用 [catlist] 短碼在文章或頁面中按類別列出文章。在編輯頁面或文章時,直接插入短碼到文章中,文章就會被列出來。基本的...。
  • Display Posts – Easy lists, grids, navigation, and more 》Display Posts 讓您輕鬆地列出網站上的所有內容。首先在內容編輯器中新增此短碼,以列出最近的文章清單:, [display-posts], , 按類別篩選, 若只想顯示特定類...。
  • CMS Tree Page View 》將所有頁面和自訂文章以 CMS 樹狀概覽方式添加到 WordPress,類似於專注於頁面的 CMS 中經常找到的檢視方式。, 如果您的目標是將多個內容類型合併到單一檢視...。
  • Category Posts Widget 》Category Posts Widget是一個輕巧的小工具,設計用於一件事並且做得很好:顯示特定類別中最新的文章。, 基於詞語和類別的文章小工具, 這個免費小工具的高級版...。
  • WP Telegram (Auto Post and Notifications) 》完美整合 Telegram 至 WordPress,讓您完全掌握控制。, Telegram 的卓越 LIVER 支援, 加入聊天室, 我們在 Telegram 上有一個公開小組,提供協助設置外掛、討...。
  • WP Admin UI Customize 》, 儀表板, 顯示選項標籤, 輸出 - 元網站, 管理工具列 (Toolbar), 側邊選單 (Side menu), 元箱的管理, 登入畫面, 其他功能, , 這些自訂化都是可以實現的。, , ...。
  • Ultimate Post Kit Addons For Elementor – (Post Grid, Post Carousel, Post Slider, Category List, Post Tabs, Timeline, Post Ticker and Tag Cloud) 》Ultimate Post Kit Elementor 外掛程式是首個允許您全新且清新地設計部落格網站的外掛程式。這是博客作者、行銷人員和文章類型網站擁有者的最佳工具。, Ultim...。
  • Reading Time WP 》WP Reading Time 讓你輕鬆地在 WordPress 文章中加入預估閱讀時間。啟用這個外掛會自動在你的文章內容的開始加入閱讀時間。你可以在「閱讀時間」設定中取消這...。

文章
Filter
Apply Filters
Mastodon