[WordPress] 外掛分享: WP LIST PAGES BY CUSTOM TAXONOMY

首頁外掛目錄 › WP LIST PAGES BY CUSTOM TAXONOMY
WordPress 外掛 WP LIST PAGES BY CUSTOM TAXONOMY 的封面圖片
100+
安裝啟用
★★★★★
5/5 分(12 則評價)
2901 天前
最後更新
問題解決
WordPress 3.2+ v1.4.10 上架:2014-11-27

內容簡介

這個外掛會在 Widgets 區域提供一個新的 Widget,讓你可以輕鬆地把它添加到你佈景主題的任何部件區域中。

使用此 Widget,你可以按類別名稱、標籤、和任何自訂分類法篩選頁面、文章或其他文章類型。您可以添加依據自訂元字段值的篩選器,並決定列表的排序方式。
你也可以選擇只顯示標題,或添加縮略圖、摘要和日期。或者你可以只顯示圖片,在滑鼠懸停時顯示詳細資訊!

它的範圍非常類似於預設的「最新文章」小工具,但你可以使用它來顯示任何文章類型和分類法。

現在還可以設定縮略圖的最大寬度和摘要長度,因此即使在更大的部件區域中也可以很好地顯示清單。

「這是你需要下載最後一個列表小工具外掛」

此 Widget 的主要特點如下:

決定要顯示多少條目
選擇要列出的文章類型
選擇要用作篩選器的分類法
選擇要使用哪些類別(或選擇所選分類法的「任何」類別)來縮小列表範圍
同時選取多個類別
包含或排除選定的類別的子類別
依據自訂元件/欄位值篩選(完整比較運算符清單)
自動以下拉式選單列出所有可用的文章類型、分類法、類別和元件/欄位!無需查找它們的 slug 或 ID!
按ID、日期、上次修改日期、標題、評論數、頁面順序、元件/欄位或隨機排序
按照升冪或降冪排序
選擇是否顯示縮略圖,以及是否將其連結到文章 URL
選擇要從資料庫中提取的縮略圖大小
設定縮略圖的最大寬度
選擇縮略圖的對齊方式(左、右或置中)
選擇是否顯示摘要
設定摘要長度(以字符為單位)
選擇是否顯示日期(或「上次修改日期」),以及它的對齊方式
決定文字內容是否可以流經圖像下方,或停留在其側
最好將標題強制保持在一行上並隱藏溢出
在列表中排除特定的文章/頁面
排除當前文章
若找不到縮略圖,插入預設圖片
選擇顯示結果到簡易下拉式選單
選擇只顯示圖片
如果只顯示圖像,選擇在滑鼠懸停時顯示文章資料
充當子頁面導覽選單!(僅顯示相同當前父頁面的子頁面)
顯示當前父頁面/頁面作為 Widget 標題
在列表上方添加文字或 HTML
有多個過濾勾子可用於操縱插件邏輯(針對開發人員)

此外,這個外掛的結構非常適合輕鬆地覆蓋輸出模板。
只需複製你會在插件子文件夾「templates」中找到的 pbytax-template.php 文件,並將它放在你的佈景主題文件夾中即可。

你也可以利用一些有用的過濾勾子(參閱 FAQ)!

這個 Widget 建立時使用了極少量的 CSS 樣式,以便在任何佈景主題中完美適應。不過,如果你想修飾它,所有的 HTML 元素都被命名為具有特定類別,以方便在你的 CSS 文件中進行樣式設置。

如果您想要我為 Widget 添加新功能,請在 支援論壇 上發帖告知我,希望我能幫你實現。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WP LIST PAGES BY CUSTOM TAXONOMY」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin will provide a new widget in the Widgets Section, so you can easily add it in any widgetized area of your theme.
With this widget you will be able to list pages or posts or any other post-type, filtering them by terms of categories, tags and any other active custom taxonomy. You can add filtering by Custom Meta Field value, and decide how to order the list.
You can also choose to display only Title, or to add Thumbnails, Excerpts and Date. Or you could display only the image with the details on rollover!
Its scope is very similar to the default Recent Posts widget, but you’ll have tons of options and you can use it for any post-type and taxonomy.
Now you can also set the max width of the thumbnail, and the excerpt length, so the listing can display nicely even on larger widgetized areas.
“This is the last listing widget plugin you’ll ever need to download”
the main features of the widget are:

Decide how many entries to display
Choose which Post-Type you want to list
Choose which Taxonomy will be used as filter
Choose which Terms to narrow your list with (or choose “any” term of the selected taxonomy)
Select multiple terms at once
Include or exclude children terms of the selected ones
Filter by Custom Meta Fields values (full list of comparison operators)
Automatically lists in dropdown selectors, all available post-types, taxonomies, terms, and meta fields! no need to find their slugs or ids!
Order by ID, Date, Last Modified Date, Title, Comments, Page Order, Meta Field, or Random
Order Ascendant or Descendant
Choose if display Thumbnails, and if link them to the post url
Choose which Thumbnail Size to pull from the database
Set Thumbnail max width
Choose the thumb alignment (left, right or centered above)
Choose if display Excerpts
Set Excerpt length (in characters)
Choose if to display Date (or “Last Modified” Date) and which alignment
Decide if text content can flow below the image or rather stay on its side
Eventually force the titles to stay on one line and hide the overflowing
Truncate the title after a specific amount of characters
Exclude specific posts/pages from the listing
Exclude current post
image placeholder if no-thumb is found
Choose to display results into a simple dropdown
Choose to display only image
If only-image, choose to display post data on mouse hover
Act as SubPages Nav Menu! (Display only the Children of the same current Parent)
Display the current Parent/Page as Widget Title
Add text or html above the list
Several filter hooks available for manipulating the plugin logic (for developers)

Also, the plugin is structured to allow easy overriding of the output template.
Just duplicate the file pbytax-template.php that you’ll find within the plugin subfolder “templates”, and put it in your theme folder.
You can also take advantage of a few useful filter hooks (see FAQ)!
the widget is built with a very little css styling, in order to adapt perfectly in any theme. though, if you want to style it up, all the html elements have been named with specific classes, to allow easy targetting in your css file.
if you’d like me to add a new feature to the widget, please let me know by writing a post in the support forum , and hopefully I will add it to the next version of WP List Pages by Custom Taxonomy.
If this plugin has been helpful for you, please don’t forget to review it and consider to make a donation. Don’t be shy, a couple of dollars would still make me happy! 🙂

延伸相關外掛

文章
Filter
Apply Filters
Mastodon