內容簡介
Category Filter Block 外掛允許用戶根據類別過濾顯示的文章,並且無需頁面刷新。它支援互動 API,提升使用者體驗。
【主要功能】
• 類別過濾可顯示為連結或下拉選單
• 顯示每個類別的文章數量
• 自訂所有類別的文字
• 支援無頁面刷新 (AJAX + Interactivity API)
• 可自訂區塊樣式 (字型大小、內邊距、外邊距)
• 可將參數添加到頁面 URL
外掛標籤
開發者團隊
原文外掛簡介
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
