[WordPress] 外掛分享: Custom Post Type Widget Blocks

首頁外掛目錄 › Custom Post Type Widget Blocks
200+
安裝啟用
尚無評分
538 天前
最後更新
問題解決
WordPress 6.2.0+ PHP 7.1+ v1.7.0 上架:2020-05-06

內容簡介

這個 WordPress 外掛名為「Custom Post Type Widgets for the Block Editor (Gutenberg)」。它在區塊編輯器中添加了預設的自訂文章類型小工具,您可以在區塊編輯器中篩選已註冊的自訂文章類型或分類法。此外,它支援 WordPress 5.8 或以上版本和 Gutenberg 10.7 或以上版本。

這個外掛包含以下小工具區塊:

- 最新文章 (自訂文章類型):顯示最近的自訂文章列表。
- 存檔 (自訂文章類型):顯示您的自訂文章的月度檔案。
- 分類 (自訂文章類型):顯示擁有自訂文章的分類列表。
- 行事曆 (自訂文章類型):顯示站點文章的行事曆。
- 最新留言 (自訂文章類型):顯示最近留言列表。
- 標籤雲 (自訂文章類型):以標籤雲的形式顯示最常用的標籤列表。
- 搜尋 (自訂文章類型):為站點提供搜尋表單。

此外,這個外掛有自己的鉤子 (hooks)。如果您需要使用鉤子,詳見參考連結。如果您在使用這個外掛時遇到問題,可以前往支援論壇或提交錯誤報告。如果您想要貢獻翻譯或修補程式,在 GitHub 上進行 fork 並發送拉取請求即可。

外掛標籤

開發者團隊

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

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

原文外掛簡介

Custom Post Type Widgets for the Block Editor (Gutenberg).
This WordPress plugin adds default Custom Post Type Widgets to the Block Editor.
You can filter by registered Custom Post Type or Taxonomy on the Block Editor.
Compatibility

WordPress version 5.8 or later
Gutenberg version 10.7 or later

Descriptions of Widget Blocks
Latest Posts (Custom Post Type)
display a list of your most recent custom posts.
Archives (Custom Post Type)
display a monthly archive of your custom posts.
Categories (Custom Post Type)
display a list of categories that has custom posts.
Calendar (Custom Post Type)
display a calendar of your site’s posts.
Latest Comments (Custom Post Type)
display a list of your most recent comments.
Tag Cloud (Custom Post Type)
display a list of the your most used tags in a tag cloud.
Search (Custom Post Type)
A search form for your site.
Hooks
Custom Post Type Widgets has its own hooks. See the reference for details.
Reference: https://github.com/thingsym/custom-post-type-widget-blocks#hooks
Support
If you have any trouble, you can use the forums or report bugs.

Forum: https://wordpress.org/support/plugin/custom-post-type-widget-blocks/
Issues: https://github.com/thingsym/custom-post-type-widget-blocks/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 Widget Blocks into your language.

You can also contribute by answering issues on the forums.

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

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

Fork Custom Post Type Widget Blocks 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