前言介紹
- 這款 WordPress 外掛「Query Blocks」是 2025-01-25 上架。
- 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
- 上一次更新是 2025-04-27,距離現在已有 7 天。
- 外掛最低要求 WordPress 6.4 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 8.1.22 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
itmaroon |
外掛標籤
post | block | field | query | taxsonomy |
內容簡介
總結:安裝此外掛後,將註冊以下四個區塊,可在區塊編輯器和網站編輯器中使用。
1. Post Pickup
- 提供功能以提取 WordPress 文章資料。
- 內部生成子查詢以從資料庫中擷取資料。
- 可選擇文章類型和術語以選擇擷取的資料,並選擇欄位來呈現所需的內容。
- 可選擇自訂欄位。
2. Post Filter
- 提供用戶使用 UI 來過濾指定 ID 的 Post Pickup。
- 提供三種過濾方式:
- 通過字串搜尋進行過濾。
- 按設定期間發佈的資料進行過濾。
- 通過設置在文章中設定的術語進行過濾。
3. Post Pagination
- 顯示指定 ID 的 Post Pickup 的分頁顯示。
- 提供兩種類型: 一種顯示頁碼,另一種前進或返回至前頁或下一頁。
- 可進行各種自訂設定。
4. Post Crumbs
- 以麵包屑清單的形式顯示指定 ID 的 Post Pickup 的過濾資訊。
- 過濾資訊基於 Post Filter 的過濾顯示為 Design Title 的文本。
- 可透過 Design Title 的設計功能進行各種自訂。
相關連結:
- query-blocks:Github
- block-class-package:GitHub
- block-class-package:Packagist
- itmar-block-packages:npm
- itmar-block-packages:GitHub
1. 請問Post Pickup區塊的功能是什麼?
- 提供功能以提取 WordPress 文章資料。
2. Post Filter區塊提供了多少種過濾方式?
- 提供了三種過濾方式: 字串搜尋、按期間發佈的資料、通過術語進行過濾。
3. Post Pagination區塊提供了哪兩種類型的顯示?
- 提供一種顯示頁碼,另一種前進或返回至前頁或下一頁。
4. Post Crumbs區塊是以何種形式顯示Post Pickup的過濾資訊?
- 以麵包屑清單的形式顯示過濾資訊。
原文外掛簡介
When you install this plugin, the following four blocks are registered and can be used not only in the block editor but also in the site editor.
Post Pickup
Provides a function to pick up WordPress post data. Internally, it generates a subquery to extract data from the database. The extracted data is selected by selecting the post type and term, and the required fields are rendered by selecting the field. Custom fields can also be selected.
Post Filter
This block provides a UI for users to filter Post Pickups specified by ID. There are three types of filtering:
– Provides a filtering function by string search. The search targets are title, excerpt, and body text, but custom fields can also be targeted by selecting an option.
– Provides a filtering function for data posted within a set period. The period can be set to three types: year, month, and day.
– Provides a filtering function by terms set in posts. The terms to be filtered are selected by selecting the taxonomy associated with the post type.
Post Pagination
This block provides pagination display of Post Pickup specified by ID.
Two types are available: one that displays the page number and one that moves to the previous or next page. The type that displays the page number has Design Button as an inner block,
and the type that moves to the previous or next page has Design Title as an inner block.
Various customizations are possible by utilizing the design functions of these custom blocks.
Post Crumbs
This block displays the filtering information of Post Pickup specified by ID in the form of a breadcrumb list.
The filtering information is based on filtering by Post Filter and is displayed as the text of Design Title.
Therefore, various customizations are possible by using the design function of Design Title.
In addition, when Post Pickup is displayed as a single post, the title of the post is also displayed in addition to the filtering information.
Related Links
query-blocks:Github
block-class-package:GitHub
block-class-package:Packagist
itmar-block-packages:npm
itmar-block-packages:GitHub
Arbitrary section
PHP class management is now done using Composer.
GitHub
Packagist
I decided to make functions and components common to other plugins into npm packages, and install and use them from npm.
npm
GitHub
External services
This plugin connects to the API to get holiday information. This is necessary to display the names of holidays in the displayed calendar.
This service is provided by “Google LLC”. The terms of use and privacy policy are available at the following links:
Google API Services User Data Policy
Google Calendar Partner Program Terms of Use
Google Privacy Policy
Google Calendar Privacy Basics
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Query Blocks」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.0 | 1.0.1 | 1.1.0 | trunk |
延伸相關外掛(你可能也想知道)
PS Auto Sitemap 》PS Auto Sitemap 是一個 WordPress 外掛,自動從您的 WordPress 網站生成網站地圖頁面。, 對於初學者來說,安裝非常容易;對於專家來說,定制也非常容易。您...。
Post Type Switcher 》這個外掛在文章編輯介面中新增了一個簡單的文章型別下拉選單,讓你可以重新指派任何文章至新的文章型別。你可以在編輯文章時更換文章的型別。, 支援的型別, ...。
Post Duplicator 》這個外掛是用來製作選定文章的完全一模一樣複製。它支援自訂文章類型、自訂分類和自訂欄位。, *注意: 評論不會被複製到新文章。, 這個外掛的目的是為了快速且...。
Optimize Database after Deleting Revisions 》這個外掛是一個「一鍵式」WordPress資料庫清理/優化器。, 主要功能, , 刪除文章、頁面和/或自訂文章類型的修訂版本(您可以選擇保留最近的「X」個修訂版本,...。
Advanced Excerpt 》這個外掛可以改進 WordPress 原有的摘錄文章功能。, , 保留摘錄中的 HTML 標記,並可自選需要保留的標記, 按字元數或字數截斷摘錄, 只計算「真正的」文字(HT...。
Add From Server 》這個外掛提供有限的支援。請不要期望有太多新功能或修正 bug。功能可能隨時被移除。, Add From Server 外掛旨在幫助緩解不好的網站主機所造成的困擾,讓您可...。
Page and Post Clone 》這個外掛可以透過一個按鈕來複製貼文或頁面,現在您不必從零開始進行新頁面或貼文的樣式設計。, 這個外掛的主要功能包括:, , 建立一個頁面複本,保留所有內...。
WP Page Widget 》這款外掛讓小工具的選擇變得更加容易。啟用此外掛後,我們可以選擇要顯示在特定頁面/文章/自訂文章類型中的小工具。, 請注意,使用此外掛時必須啟用側邊欄主題。。
WP Total Hacks 》WP Total Hacks 可以在您的 WordPress 網站上自訂超過 20 個設置。, 此外掛已在 GitHub 上發布。, 一些功能:, 您可以選擇啟用或停用所有項目。, 需要 PHP5!...。
Revision Control 》**本外掛不提供支援。仍可使用,但請勿期待得到支援要求的回應或對「這無法運作」進行回應。**, Revision Control 是 WordPress 的一款外掛,可以讓使用者更...。
Reveal IDs 》WordPress 2.5版本發佈後,所有管理頁面的ID都被刪除了。這應該是因為普通用戶不需要它們。但對於高級WordPress用戶和開發人員來說,這些ID對某些外掛或模板...。
Bulk Delete 》Bulk Delete 是一個 WordPress 外掛,可以根據不同的條件和過濾器批次刪除文章、頁面、附件、使用者和元資料。此外掛支援以下條件和過濾器:, , 刪除文章, , ...。
WP Admin UI Customize 》, 儀表板, 顯示選項標籤, 輸出 - 元網站, 管理工具列 (Toolbar), 側邊選單 (Side menu), 元箱的管理, 登入畫面, 其他功能, , 這些自訂化都是可以實現的。, , ...。
Themify Portfolio Post 》Themify Portfolio Posts 是一個簡單的外掛,允許您展示乾淨版面的專案資訊。簡約而精美,您可以點擊您的圖庫專案的每張圖片,選擇顯示更多細節,例如專案類...。
Essential Content Types 》Essential Content Types 是一個 WordPress 外掛程式,讓您可以在您的網站上以不同的內容/文章類型展示出優秀的內容。這些內容/文章類型可能會被 WordPress ...。