[WordPress] 外掛分享: Custom Post Type Widgets

首頁外掛目錄 › Custom Post Type Widgets
10,000+
安裝啟用
★★★★
4.8/5 分(14 則評價)
573 天前
最後更新
問題解決
WordPress 4.9+ PHP 5.6+ v1.5.2 上架:2015-01-27

內容簡介

此 WordPress 外掛可以添加預設的自訂文章類型小工具。
您可以在小工具上篩選已註冊的自訂文章類型或分類法。

小工具描述

最新文章 (自訂文章類型)
顯示最近的自訂文章清單。

標題- 在最近的自訂文章清單上方顯示說明
文章類型- 如果選擇,則篩選一個自訂文章類型。(例如文章)
最多顯示文章數量 (15) - 輸入要顯示的文章數量。
是否顯示文章日期?- 如果勾選,則會顯示文章日期。
類別名稱- widget_recent_entries

歸檔(自訂文章類型)
顯示每個有自訂文章的月份的歸檔連結清單。

標題- 在歸檔清單上方顯示說明
文章類型- 如果選擇,則篩選一個自訂文章類型。(例如文章)
歸檔類型
以下拉清單顯示- 如果勾選,歸檔將會顯示在下拉清單中。
顯示文章計數- 如果勾選,將顯示每個歸檔期間的文章數量。
排序
類別名稱- widget_archive

分類 (自訂文章類型)
顯示具有自訂文章的分類列表。

標題- 在分類列表上方顯示說明
分類法- 如果選擇,則篩選自訂分類法 (例如分類)
以下拉清單顯示- 如果勾選,將以下拉清單顯示分類。
顯示文章計數- 如果勾選,將顯示每個分類的文章數量。
顯示階層- 如果勾選,以縮排的方式顯示父子關係。
類別名稱- widget_categories

行事曆 (自訂文章類型)
顯示當月份的行事曆。

標題- 在行事曆上方顯示說明
文章類型- 如果選擇,則篩選一個自訂文章類型。(例如文章)
類別名稱- widget_calendar

最新留言 (自訂文章類型)
顯示最新留言。

標題- 在最近留言列表上方顯示說明
文章類型- 如果選擇,將篩選自訂文章類型。(例如文章)
顯示留言數量 (最多顯示15) - 輸入要顯示的留言數量。
類別名稱- widget_recent_comments

標籤雲 (自訂文章類型)
顯示使用最多的前45個標籤清單。

標題- 在標籤雲上方顯示說明
分類法- 如果選擇,則篩選一個自訂分類法 (例如標籤)
顯示標籤數量- 如果勾選,則會顯示每個標籤的數量。
類別名稱- widget_tag_cloud

搜尋 (自訂文章類型)
顯示一個搜尋表單。

標題- 在搜了表單上方顯示說明
文章類型- 如果選擇,則篩選一個自訂文章類型。(例如文章)
類別名稱- widget_search

Hook
Custom Post Type Widgets 擁有自己的 hooks。 詳細信息請參閱參考https://github.com/thingsym/custom-post-type-widgets#hooks。
結束

外掛標籤

開發者團隊

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

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

原文外掛簡介

Custom Post Type Widgets plugin adds default custom post type widgets.
You can filter by registered Custom Post Type or Taxonomy on widgets.
Descriptions of Widgets
Recent Posts (Custom Post Type)
display a list of the most recent custom posts.

Title – description that appears over the list of recent custom posts.
Post Type – if selected, filter by a custom post type. (e.g. post).
Number of posts to show (at most 15) – enter the number of posts to display.
Display post date? – if checked, display post date.

Archives (Custom Post Type)
display a list of archive links for each month that has custom posts.

Title – description that appears over the list of archive links.
Post Type – if selected, filter by a custom post type. (e.g. post).
Archive Type
Display as dropdown – if checked, this box causes the archives to be displayed in a drop-down box.
Show post counts – if checked, this box causes a count of the number of posts for each archive period.
Order

Categories (Custom Post Type)
display a list of categories that has custom posts.

Title – description that appears over the list of categories.
Taxonomy – if selected, filter a custom taxonomy (e.g. category).
Display as dropdown – if checked, this box causes the categories to be displayed in a dropdown box.
Show post counts – if checked, this box causes the count of the number of posts to display with each category.
Show hierarchy – if checked, shows parent/child relationships in an indented manner.

Calendar (Custom Post Type)
display a calendar of the current month.

Title – description that appears over the calendar.
Post Type – if selected, filter by a custom post type. (e.g. post).

Recent Comments (Custom Post Type)
display a list of the most recent comments.

Title – description that appears over the list of recent comments.
Post Type – if selected, filter by a custom post type. (e.g. post).
Number of comments to show (at most 15) – enter the number of comments to be displayed.

Tag Cloud (Custom Post Type)
display a list of the top 45 that has used in a tag cloud.

Title – description that appears over the tag cloud.
Taxonomy – if selected, filter a custom taxonomy (e.g. post_tag).
Show tag counts – if checked, this box causes the count of the number of tags to display with each tag.

Search (Custom Post Type)
A search form for your site.

Title – description that appears over the search.
Post Type – if selected, filter by a custom post type. (e.g. post).

Hooks
Custom Post Type Widgets has its own hooks. See the reference for details.
Reference: https://github.com/thingsym/custom-post-type-widgets#hooks
Support
If you have any trouble, you can use the forums or report bugs.

Forum: https://wordpress.org/support/plugin/custom-post-type-widgets/
Issues: https://github.com/thingsym/custom-post-type-widgets/issues

Contribution
Small patches and bug reports can be submitted a issue tracker in Github. Forking on Github is another good way. You can send a pull request.
Translating a plugin takes a lot of time, effort, and patience. I really appreciate the hard work from these contributors.
If you have created or updated your own language pack, you can send gettext PO and MO files to author. I can bundle it into plugin.

VCS – GitHub
Homepage – WordPress Plugin
Translate Custom Post Type Widgets into your language.

You can also contribute by answering issues on the forums.

Forum: https://wordpress.org/support/plugin/custom-post-type-widgets/
Issues: https://github.com/thingsym/custom-post-type-widgets/issues

Patches and Bug Fixes
Forking on Github is another good way. You can send a pull request.

Fork Custom Post Type Widgets from GitHub repository
Create a feature branch: git checkout -b my-new-feature
Commit your changes: git commit -am ‘Add some feature’
Push to the branch: git push origin my-new-feature
Create new Pull Request

Contribute guidlines
If you would like to contribute, here are some notes and guidlines.

All development happens on the develop branch, so it is always the most up-to-date
The master branch only contains tagged releases
If you are going to be submitting a pull request, please submit your pull request to the develop branch
See about forking and pull requests

Test Matrix
For operation compatibility between PHP version and WordPress version, see below Github Actions.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon