前言介紹
- 這款 WordPress 外掛「Custom Post Type Widget Blocks」是 2020-05-06 上架。
- 目前有 200 個安裝啟用數。
- 上一次更新是 2024-09-26,距離現在已有 220 天。
- 外掛最低要求 WordPress 6.2.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.1 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
thingsym |
外掛標籤
block | widget | widgets | gutenberg | block-editor |
內容簡介
這個 WordPress 外掛名為「Custom Post Type Widgets for the Block Editor (Gutenberg)」。它在區塊編輯器中添加了預設的自訂文章類型小工具,您可以在區塊編輯器中篩選已註冊的自訂文章類型或分類法。此外,它支援 WordPress 5.8 或以上版本和 Gutenberg 10.7 或以上版本。
這個外掛包含以下小工具區塊:
- 最新文章 (自訂文章類型):顯示最近的自訂文章列表。
- 存檔 (自訂文章類型):顯示您的自訂文章的月度檔案。
- 分類 (自訂文章類型):顯示擁有自訂文章的分類列表。
- 行事曆 (自訂文章類型):顯示站點文章的行事曆。
- 最新留言 (自訂文章類型):顯示最近留言列表。
- 標籤雲 (自訂文章類型):以標籤雲的形式顯示最常用的標籤列表。
- 搜尋 (自訂文章類型):為站點提供搜尋表單。
此外,這個外掛有自己的鉤子 (hooks)。如果您需要使用鉤子,詳見參考連結。如果您在使用這個外掛時遇到問題,可以前往支援論壇或提交錯誤報告。如果您想要貢獻翻譯或修補程式,在 GitHub 上進行 fork 並發送拉取請求即可。
原文外掛簡介
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.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Custom Post Type Widget Blocks」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.1 | 1.1.0 | 1.1.1 | 1.2.0 | 1.2.1 | 1.2.2 | 1.3.0 | 1.3.1 | 1.4.0 | 1.5.0 | 1.5.1 | 1.6.0 | 1.6.1 | 1.6.2 | 1.6.3 | 1.7.0 | trunk |
延伸相關外掛(你可能也想知道)
Spectra Gutenberg Blocks – Website Builder for the Block Editor 》a.com/tutorials/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme" rel="nofollow ugc">Spectra tutorials, you can easily learn how to ...。
Breadcrumb NavXT 》Breadcrumb NavXT 是受歡迎的 WordPress 外掛 Breadcrumb Navigation XT 的後繼者,從頭開始編寫以比其前輩更好。此外掛可為您的 WordPress 網誌或網站生成定...。
WP Go Maps (formerly WP Google Maps) 》這是一款易於使用的 Google 地圖和 Open Layers 地圖外掛程式(包括地圖區塊)!, 使用提供的短代碼,快速輕鬆地向 WordPress 文章和/或頁面添加自定義 Googl...。
PDF Embedder 》這款外掛程式可以上傳 PDF 檔案,並將它們直接嵌入到您網站的文章和頁面中。添加圖像一樣簡單!您的 PDF 檔案會自動調整到其自然大小和形狀。您還可以指定寬...。
Otter Blocks – Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE 》Otter 是一款 Gutenberg Blocks 頁面建構外掛,可為 WordPress Block Editor(又稱 Gutenberg)添加額外功能,讓您享受更好的頁面建構體驗,而無需使用傳統的...。
Layout Grid Block 》想要輕鬆設定自訂欄位寬度和位置的列排版嗎?也許您想要在文章中將內容對齊全局佈局網格。使用此佈局網格區塊,您可以實現以上兩個目標,或是其中一個。此外...。
Email Address Encoder 》這是一個輕量級的外掛,可以保護純文字的電子郵件地址和 mailto 鏈結免受電子郵件抓取機器人獵取,透過將它們編碼成十進位和十六進位實體。對文章、頁面、留...。
Crowdsignal Forms 》The Crowdsignal Forms 外掛可以讓您直接在區塊編輯器中建立和管理投票。, 建立投票與編寫項目清單一樣簡單快速,不再需要嵌入區塊或複製、貼上。, 自訂投票...。
Blocks Animation: CSS Animations for Gutenberg Blocks 》Blocks Animation 可以讓您以優雅的方式,為所有的 Gutenberg 區塊添加 CSS 動畫。, Blocks Animation 的用戶介面非常原生且直觀,您甚至不會注意到它已經被...。
Superb Addons: Blocks, Patterns & Theme Designer 》使用 Superb Gutenberg Blocks,只需幾秒鐘即可將全新的優秀功能添加到 WordPress 編輯器中!, Superb Gutenberg Blocks符合GDPR,且輕量且響應式。, 外掛是...。
Category Posts Widget 》Category Posts Widget是一個輕巧的小工具,設計用於一件事並且做得很好:顯示特定類別中最新的文章。, 基於詞語和類別的文章小工具, 這個免費小工具的高級版...。
Genesis Blocks 》Genesis Blocks 是一個能夠在 Gutenberg 段落編輯器中使用的頁面組件集。透過使用段落編輯器和 Genesis Blocks,您可以更加靈活地建立各種網站,並快速推出!...。
Flexible Table Block 》合併和分割儲存格, 您可以從多個選定的儲存格中合併或分割儲存格。, 靈活的樣式設置, 您可以針對表格、儲存格和標題標籤分別設置各種樣式。, 高級使用介面, ...。
Spider Blocker 》Spider Blocker 可以封鎖消耗頻寬和減慢服務器速度的大多數常見機器人。它會使用 Apache .htaccess 文件來減少對您的網站的影響。它也會從外部掃描器中隱藏自...。
Snow Monkey Blocks 》Snow Monkey Blocks 是一個為 Gutenberg 所設計的內容區塊外掛程式。使用此外掛,您可以快速且輕鬆地建立和發佈登陸頁面或高度設計的頁面,而且您不需要撰寫...。