[WordPress] 外掛分享: Advanced Posts Widget

首頁外掛目錄 › Advanced Posts Widget
WordPress 外掛 Advanced Posts Widget 的封面圖片
300+
安裝啟用
★★★★★
5/5 分(6 則評價)
3628 天前
最後更新
問題解決
WordPress 4.4+ v1.0 上架:2016-04-11

內容簡介

建立更好的文章列表。

進階文章小工具(Advanced Posts Widget)是 WordPress 最新文章小工具(Recent Posts Widget)的增強版。它允許更多的自定義和樣式設置,讓你的最新內容列表更加獨特。

通過這款高度可自定義的最新文章小工具,讓你的文章列表脫穎而出!

功能

建立多個列表!
選擇要顯示的文章類型。(你可以選擇所有類型或特定類型。)
設置要顯示的文章數量。
選擇如何排序文章:按發布日期、按字母順序、隨機等方式。
設置顯示文章的順序。
按類別、標籤或自定義分類法篩選文章。
支持文章縮略圖。
設置並預覽自定義縮略圖大小,或選擇來自站點中已註冊圖像大小。
顯示文章摘要。
設置並預覽摘要長度。
選擇列表格式以匹配站點的標記,可選擇:ol、ul 或 div。
選擇列表格式。選擇 html5 或 xhtml。
顯示文章日期。
設置並預覽多種日期格式。
選擇預設(基本)CSS樣式或自定義樣式。

開發者功能

這個小工具不僅考慮了最終用戶,還考慮了插件開發人員。幾乎每個方面都可以通過過濾器和動作鉤子來擴展這個小工具。你甚至可以將自己的表格字段添加到小工具表單中!

需要從小工具表單中刪除某個字段?沒問題!每個字段都通過自己的過濾器進行自定義。
需要修改小工具的輸出?輕鬆解決!輸出通過多個過濾器進行傳遞,使你可以根據項目要求自定義文章列表。
有關動作鉤子和過濾器的完整列表,請參閱插件文檔:http://darrinb.com/plugins/advanced-posts-widget

若需sample functions,請查看此小型測試插件:https://github.com/dboutote/Advanced-Posts-Widget-Testing

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Advanced Posts Widget」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Build a better post list.
The Advanced Posts Widget is an enhanced version of the default WordPress Recent Posts widget. It allows for greater customization and stying of your recent content lists.
Make your post lists stand out with this highly customizable recent post widget!
Features

Build multiple lists!
Select which post types to display. (You can choose either all types, or a specific type.)
Set the number of posts to show.
Choose how to order your posts: publish date, alphabetically, random, etc.
Set the order for displaying the posts.
Filter by category, tag, or custom taxonomy.
Supports post thumbnails.
Set and preview custom thumbnail sizes, or choose from your site’s registered image sizes.
Show an excerpt of the post.
Set and preview the length of the excerpt.
Select the list format to match your site’s markup. Choose from: ol, ul, or div.
Select the listing format. Choose between html5 or xhtml.
Show post date.
Set and preview multiple date formats.
Choose the default (basic) CSS styling or roll your own.

Developer Features
This widget was built not only with end-users in mind, but also plugin developers. Almost every aspect of this widget is extensible through filters and action hooks. You can even add your own form fields to the widget form!

Need to remove a field from the widget form? Not a problem! Every field is passed through its own filter for easy customization.
Need to modify the output of the widget? Easy! The output is passed through numerous filters, allowing you to customize the post list to meet your project’s requirements.
For a full list of action hooks and filters, please see the plugin documentation: http://darrinb.com/plugins/advanced-posts-widget

For sample functions check out this small testing plugin: https://github.com/dboutote/Advanced-Posts-Widget-Testing

延伸相關外掛

文章
Filter
Apply Filters
Mastodon