
內容簡介
總結:安裝此外掛後,將註冊以下四個區塊,可在區塊編輯器和網站編輯器中使用。
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
