[WordPress] 外掛分享: Category Filter Block

首頁外掛目錄 › Category Filter Block
100+
安裝啟用
★★★★★
5/5 分(1 則評價)
3 天前
最後更新
100%
問題解決
WordPress 6.5+ PHP 7.3+ v1.2.1 上架:2025-04-06

內容簡介

Category Filter Block 外掛允許用戶根據類別過濾顯示的文章,並且無需頁面刷新。它支援互動 API,提升使用者體驗。

【主要功能】
• 類別過濾可顯示為連結或下拉選單
• 顯示每個類別的文章數量
• 自訂所有類別的文字
• 支援無頁面刷新 (AJAX + Interactivity API)
• 可自訂區塊樣式 (字型大小、內邊距、外邊距)
• 可將參數添加到頁面 URL

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2.1) 或搜尋安裝

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

原文外掛簡介

The category filter block allows you to filter posts displayed with the standard Query Loop block by category, without a page refresh. The Interactivity API is fully supported.
Features
✅ The category filter can be displayed as links or as a select dropdown field
✅ You can display a post count number near each category
✅ Custom All Categories text
✅ Works without page refresh (AJAX + Interactivity API)
✅ Sticky positioning
✅ Block styles customization (Font size, Padding, Margin)
✅ The block can add parameters to the page URL, for example, ?filter-category=travel
The plugin also has a PRO version, its main difference is that it supports filtering by any custom taxonomy – Tags, Product Categories, Product Tags, Brands, etc. It has a bunch of other features too.
Pro features
⚡️ Custom taxonomies are supported
⚡️ Multiple taxonomy filters within the same Query Loop block (for example, by categories AND tags)
⚡️ Sort categories (terms) in the filter alphabetically, by post count, or in a custom order
⚡️ The filter can be displayed as buttons with the possibility of style customization (Text color, Background color, Border, Border radius, etc.)
⚡️ Display checkboxes in the dropdown filter to select multiple categories
🚀 Upgrade to Pro

延伸相關外掛

文章
Filter
Apply Filters
Mastodon