跳到内容

Multiple Category Selection Widget

v4.0.0

zackdesign · 2008年8月23日 上架

Filter posts by selecting multiple categories using dropdown menus. Available as a widget, block, or shortcode.

正在使用
100+
评分
2.9 / 5
累计下载
7.9 万
最近更新
2026年2月23日
14 条评价需要 WordPress 6.0+已测试到 6.9.12PHP 7.4+

贡献者

Turn your WordPress post categories into a search powerhouse! This plugin gives you a set of dropdown menus based on parent categories and their sub-categories. Users select one sub-category per parent, and the plugin filters posts matching the selected combination.

Available as:

  • Gutenberg Block — “Multi-Category Filter” in the block inserter (new in v4)
  • Classic Widget — “Multi-Category Selection” in Appearance > Widgets
  • Shortcode — [mcsw] on any page or post

Features:

  • AND / OR category filtering — find posts matching ALL or ANY selected categories
  • AJAX chained drilldown — selecting a parent dynamically loads its children
  • Pretty permalink URLs (/categories/3,5/search_type/and/order/title/)
  • Ordering by title or default
  • Configurable blank search behavior
  • Exclude specific categories
  • Lightweight — no jQuery, no external dependencies
  • Pagination support
  • Display form above results on category pages (optional)

Sample use case:

Real estate — set up parent categories like “Bedrooms”, “Bathrooms”, “Price Range” with sub-categories beneath them. Users filter listings by selecting from each dropdown.

Upgrading from v3.x:

  • PHP sessions have been removed entirely — the URL now carries all state, which means better compatibility with caching plugins, load balancers, and modern hosting
  • jQuery has been replaced with vanilla JavaScript
  • CSS classes have changed from wpmcsw/wpmm to BEM-style mcsw-* classes — update any custom CSS
  • The old select-chain.js in the plugin root has been replaced by js/select-chain.js

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums