[WordPress] 外掛分享: Custom Query Blocks

WordPress 外掛 Custom Query Blocks 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Custom Query Blocks」是 2018-09-29 上架。
  • 目前有 900 個安裝啟用數。
  • 上一次更新是 2024-11-03,距離現在已有 181 天。
  • 外掛最低要求 WordPress 5.5 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.6 以上。
  • 有 25 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

ronalfy | chrislogan | paaljoachim |

外掛標籤

404 page | archives | map pages | category grid | post type block |

內容簡介

這是一個WordPress外掛,可使用Gutenberg區塊顯示文章和術語(例如分類)。適用於文章、頁面、自訂文章類型、分類和術語等。

獎勵功能:對應存檔。

注意:(2021-07-28)由於有更好的自訂查詢項目和WordPress 5.8中的新查詢區塊,區塊已不再使用。謝謝你的試用。

將您的文章類型存檔映射到頁面,以自定義文章類型存檔頁面。
將您的分類存檔映射到頁面,以自定義術語存檔頁面。
將您的404模板映射到頁面,輕鬆自定義404頁面。

查看文檔和概述

目前此外掛有三個區塊:

自訂文章類型區塊
術語(分類)網格區塊
特色文章按分類區塊

文章類型存檔映射

該外掛允許您將自訂文章類型存檔頁面映射到頁面。只需創建一個頁面,然後轉到“設置” ->“閱讀”以設置您的存檔頁面。

確保您的文章類型的 has_archive 設置為true。

選擇公共頁面作為文章類型存檔頁面。
查看存檔內容並查看頁面內容。
在您的頁面上使用頁面模板以增強彈性。
使用自訂的Gutenberg區塊顯示您的文章。

術語存檔映射

此外,該外掛還允許您將術語存檔映射到頁面。只需創建一個頁面,然後編輯術語以設置存檔頁面。

創建一個公共頁面以用作術語存檔。
訪問編輯術語頁面,然後選擇頁面。
查看術語並查看選定的頁面。
在您的公共頁面上使用Gutenberg來自定義存檔。

404頁面映射

此外掛允許您將頁面映射到404模板,以便您可以根據需要自定義404頁面。

原文外掛簡介

A WordPress plugin for displaying posts and terms (e.g., categories) using a Gutenberg block. Works well with posts, pages, custom post types, taxonomies, and terms.
Bonus: archive mapping.

Archive Pages Pro is here: Map post types, terms, authors, and more to pages. Learn more about Archive Pages Pro

Map your post type archives to a page for customization of the post type archive page.
Map your category archives to a page for customization of the term archive page.
Map your 404 template to a page and easily customize your 404 page.

View Documentation and Overview
The plugin currently has three blocks:

Custom Post Types Block
Term (Category) Grid Block
Featured Posts by Category Block

Post Type Archive Mapping
This plugin allows you to map your custom post type archive pages. Just create a page and go to Settings->Reading to set the page for your archive.
Ensure your post types have has_archive set to true.

Select a Public page to use as your post type archive page.
View the archive and you will see the page content instead of the archive content.
Use page templates on your pages for flexibility.
Custom Gutenberg block for showing your posts.

Term Archive Mapping
This plugin also allows you to map your term archives to a page. Just create a page and go edit your term to set the archive page.

Create a public page to use as your term archive.
Visit the edit term page and select the page.
View the term and you will see your selected page.
Use Gutenberg on your public page to customize the archive.

404 Page Mapping
This plugin allows you to map a page to your 404 template, so you can customize a 404 page as needed.
Development is on GitHub
Development is on GitHub
Archive Pages Pro
Archive Pages Pro has all the mapping feature of this plugin and more. You can map post types, terms, authors, and more to pages. Learn more about Archive Pages Pro

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Custom Query Blocks」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.0 | 1.0.1 | 2.0.0 | 2.0.1 | 2.0.3 | 2.0.4 | 2.0.5 | 2.0.7 | 2.1.0 | 2.1.1 | 2.1.2 | 2.2.0 | 2.2.1 | 2.2.2 | 3.0.0 | 3.0.5 | 3.0.6 | 3.0.7 | 3.0.9 | 3.1.0 | 3.1.1 | 3.2.0 | 3.2.1 | 3.2.2 | 3.3.0 | 3.3.1 | 3.3.5 | 4.0.0 | 4.0.1 | 4.0.5 | 4.5.0 | 4.5.1 | 4.5.2 | 4.5.3 | 4.5.5 | 5.0.0 | 5.0.1 | 5.0.5 | 5.0.6 | 5.1.0 | 5.1.2 | 5.1.4 | 5.1.5 | 5.1.6 | 5.2.0 | 5.3.0 | 5.3.1 | trunk |

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon