[WordPress] 外掛分享: Custom Query Blocks

首頁外掛目錄 › Custom Query Blocks
WordPress 外掛 Custom Query Blocks 的封面圖片
700+
安裝啟用
★★★★
4.6/5 分(25 則評價)
20 天前
最後更新
問題解決
WordPress 6.5+ PHP 7.2+ v5.6.0 上架:2018-09-29

內容簡介

Custom Query Blocks 是一款 WordPress 外掛,專為使用 Gutenberg 區塊顯示文章和分類(如類別)而設計。它支援文章、頁面、自訂文章類型及分類,並提供靈活的頁面映射功能。

【主要功能】
• 自訂文章類型區塊
• 分類網格區塊
• 按類別顯示精選文章區塊
• 文章類型存檔頁面映射
• 分類存檔頁面映射
• 自訂 404 頁面映射

外掛標籤

開發者團隊

⬇ 下載最新版 (v5.6.0) 或搜尋安裝

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

原文外掛簡介

Plugin Up for Adoption Before Closure
Custom Query Blocks will be removed / deprecated from WordPress.org on October 1, 2026 if I can’t find a new owner . Please find a replacement before the closure date.
Adoption Form | GitHub

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

文章
Filter
Mastodon