Title: Taxonomy Chain Menu
Author: RealMag777
Published: <strong>2 сар 25, 2021</strong>
Last modified: 2 сар 9, 2026

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/taxonomy-chain-menu.svg)

# Taxonomy Chain Menu

 By [RealMag777](https://profiles.wordpress.org/realmag777/)

[Download](https://downloads.wordpress.org/plugin/taxonomy-chain-menu.zip)

 * [Details](https://mn.wordpress.org/plugins/taxonomy-chain-menu/#description)
 * [Reviews](https://mn.wordpress.org/plugins/taxonomy-chain-menu/#reviews)
 *  [Installation](https://mn.wordpress.org/plugins/taxonomy-chain-menu/#installation)
 * [Development](https://mn.wordpress.org/plugins/taxonomy-chain-menu/#developers)

 [Support](https://wordpress.org/support/plugin/taxonomy-chain-menu/)

## Description

**Taxonomy Chain Menu**is a WordPress plugin that provides a single shortcode for
creating chained dropdown menus of taxonomy terms, using either built-in or custom
WordPress taxonomies.

Taxonomy Chain Menu is available as one shortcode: [[taxonomy_chain_menu]](https://pluginus.net/shop/wordpress-plugins/wordpress-filter-plugins/taxonomy-chain-menu#tab-description)
with heap of attributes described below.
 Compatible with [WOOF filtration behavior](https://demo.products-filter.com/taxonomy-chain-menu/)!

### Demo Pages:

 * [Demo page 1](http://cars.wp-filter.com/simple-taxonomy-chain-menu/)
 * [Demo Ready Chain](http://woocommerce.wp-filter.com/simple-taxonomy-chain-menu-2/)
 * [Compatible with TABLEON](https://demo.posts-table.com/taxonomy-chain-menu/)
 * [Compatible with WOOT](https://demo.products-tables.com/taxonomy-chain-menu/)
 * [Compatible with WOOF](https://demo.products-filter.com/taxonomy-chain-menu/)

Latest PHP 8.x – COMPATIBLE!

### Taxonomy Chain Menu Features (shortcode attributes):

✅ **post_slug**: post type to use in the chain menu. Default slug is ‘post’.

✅ **taxonomy**: taxonomy terms to navigate. Default taxonomy is ‘category’.

✅ **parent_id**: started term ID, 0 means top parents. Default slug is 0.

✅ **exclude**: terms ids to hide from the chain. For example: 12,44,73.

✅ **include**: terms ids to show. Opposite to ‘exclude’. For example: 11,43,72.

✅ **include_top**: terms ids related to the top parent terms only (parent == 0).
For example: 10,42,71.

✅ **show_count**: show/hide count of posts in the terms in drop-downs options. 
Default value is 0.

✅ **watch_view**: values: ‘posts’, ‘terms’, ‘none’. What to show on the end of 
the chain. Posts – drop-down with posts. Terms – button with the link to posts of
the selected term in the last drop-down. None – nothing, good to apply with products
tables filtering.

✅ **label_taxonomy**: label(s) of the drop-down(s). Example: ‘Producer’. Also it
is possible to use custom actions (_must started from ‘call\_filter\_’_) for translations,
example: [taxonomy_chain_menu label_taxonomy=’call_filter_chain1′ label_post=’call_filter_chain1-
post’]. In file functions.php add next code:

    ```
    add_filter('chain1', function($args) {

        $res = 'Producer';
        //for WPML compatibility as an example
        if (defined('ICL_LANGUAGE_CODE')) {
            switch (ICL_LANGUAGE_CODE) {
                case 'es':
                    $res = 'Productor';
                    break;
                case 'uk':
                    $res = 'Виробник';
                    break;
            }
        }

        return $res;
    }, 10, 1);
    ```

✅ **label_post**: label of the posts drop-down. To use action instead of text in
file functions.php add next code: (_must started from ‘call\_filter\_’_)

    ```
    add_filter('chain1-post', function($args) {

        $res = 'Select car';
        //for WPML compatibility as an example
        if (defined('ICL_LANGUAGE_CODE')) {
            switch (ICL_LANGUAGE_CODE) {
                case 'es':
                    $res = 'Seleccionar coche';
                    break;
                case 'uk':
                    $res = 'Яке твое авто';
                    break;
                default:
                    $res = 'Select your car';
                    break;
            }
        }

        return $res;
    }, 10, 1);
    ```

✅ **button_title**: title of the button at the end of the chain. By default it 
is ‘GO!’. Also is possible to use action (_must started from ‘call\_filter\_’_),
example: [taxonomy_chain_menu post_slug=’product’ taxonomy=’product_cat’ button_title
=’call_filter_chain1-btn’]

    ```
    add_filter('chain1-btn', function($args) {

        $res = 'Take it!';
        //for WPML compatibility as an example
        if (defined('ICL_LANGUAGE_CODE')) {
            switch (ICL_LANGUAGE_CODE) {
                case 'es':
                    $res = 'Tomar lo!';
                    break;
                case 'uk':
                    $res = 'Забираймо!';
                    break;
            }
        }

        return $res;
    }, 10, 1);
    ```

✅ **chain_id**: (_for developers_)unique JavaScript identifier for javascript event‘
taxonomy-chain-menu’ and in custom WordPress actions

✅ **connect_table**: unique identifier of posts/products table (TABLEON or WOOT)
set in table shortcode attribute or its backend settings. It is possible to use 
Taxonomy Chain Menu as filter with posts and products table plugins: [TABLEON – WordPress Posts Table Filterable](https://posts-table.com/)
and [WOOT – WooCommerce Products Table](https://products-tables.com/)
 Such scripts
cooperation is possible thanks to JavaScript event ‘taxonomy-chain-menu’ and shortcode
attributes ‘chain_id’ with attribute ‘connect_table’

✅ **do_filter**: accepts from the box only one value – ‘woof’ ([demo](https://demo.products-filter.com/taxonomy-chain-menu)),
but it is possible to adapt any another wordpress/woocommerce filter plugin (_for
developers_) using js event taxonomy-chain-menu-do-filter and values there: e.detail.
term_id, e.detail.slug, e.detail.container. Example: [taxonomy_chain_menu post_slug
=’product’ taxonomy=’product_cat’ do_filter=’woof’]

✅ **select_width**: widths for drop-downs in chain. Use one value or some separated
by ‘|’. Examples: ‘300px’, ‘300px|250px|20%’. Last value is actual for drop-downs
in chain with number 3 and more.

✅ **max_posts_count**: set maximum count of posts in posts drop-down

✅ **posts_orderby**: how to order posts in posts drop-down (by title, id, meta).
By default: title.

✅ **posts_order**: posts order direction in posts drop-down. Possible values: ASC,
DESC

✅ **posts_order_meta_key**: here is meta key by which posts in posts drop-down 
should be ordered. Be care – meta values should exist in the requested posts. Example:[
taxonomy_chain_menu post_slug=’product’ taxonomy=’product_cat’ posts_orderby=’meta_value_num’
posts_order_meta_key=’prod_1′ posts_order=’DESC’]

✅ **no jQuery – pure JavaScript!**

✅ **Shortcode example** [taxonomy_chain_menu post_slug=’product’ taxonomy=’product_cat’
show_count=1 exclude=’1′ include_top2=’17’ parent_id2=17 target=’_blank’ watch_view2
=’terms’ label_taxonomy=’call_filter_chain1′ label_post=’call_filter_chain1-post’
chain_id=’chain1′ connect_table=’asdfgh’ ready_chain=’17,18,0′ button_title=’call_filter_chain1-
btn’ do_filter2=’woof’ label_before2=’call_filter_chain1-before’ select_wrapper=’
selectron23′ max_posts_count2=2 posts_orderby2=’meta_value_num’ posts_order_meta_key2
=’prod_1′ selectron23_max_open_height=’150|200|220′ select_width=’300px|200px|350px’]

✅ All features above

✅ **target**: how to open selected post/terms page. Default is: ‘_self’ (opening
in the same browser tab). To open in another tab use: ‘_blank’

✅ **syntax for label_taxonomy**: as an example – ‘Producer|Model’, such syntax 
allows to set individual title for each drop-down in the chain

✅ **label_before**: any words before first drop-down. Also it is possible to set
text through action (_must started from ‘call\_filter\_’_): ([taxonomy_chain_menu
post_slug=’product’ taxonomy=’product_cat’ label_before=’call_filter_chain1-before’])

✅ **ready_chain**: allows to display pre-selected values in the chain menu, example–[
taxonomy_chain_menu watch_view=’posts’ ready_chain=’17,20,post(51)’] – at the end
of the chain will be displayed drop-down with posts and button with the link to 
the selected post. If exists more sub-categories use 0 (zero) at the end: [taxonomy_chain_menu
ready_chain=’17,20,0′]. [See example](https://woocommerce.wp-filter.com/simple-taxonomy-chain-menu-2/).

✅ **select_wrapper**: has only one value ‘selectron23’ and allows to wrap drop-
down in reach html-element Selectron23. Just [look an example](https://demo.products-filter.com/taxonomy-chain-menu/?swoof=1&ready_chain=9,66,0&product_cat=wooman)
please to understand!

✅ Compatible with [WPML](https://wpml.org/plugin/taxonomy-chain-menu/) automatically,
no actions need.

### Make your site more powerful with next scripts:

✅ [WOOF – Products Filter for WooCommerce](https://wordpress.org/plugins/woocommerce-products-filter/):
is an extendable, flexible and robust plugin for WooCommerce that allows your site
customers filter products by products categories, attributes, tags, custom taxonomies
and price. Supports latest version of the WooCommerce plugin. A must have plugin
for your WooCommerce powered online store! Maximum flexibility!

✅ [WOOCS – WooCommerce Currency Switcher](https://wordpress.org/plugins/woocommerce-currency-switcher/):
is WooCommerce multi currency plugin, that allows your shop customers switch products
prices currency according to the set rates in the real time and pay in the selected
currency (optionally). Allows to add any currency to you WooCommerce store! The 
best woo currency switcher plugin for WooCommerce e-shop!

✅ [BEAR – Bulk Editor for WooCommerce](https://wordpress.org/plugins/woo-bulk-editor/):
WordPress plugin for managing and bulk edit WooCommerce Products data in robust 
and flexible way! Be professionals with managing data of your woocommerce e-shop!

✅ [WPBE – WordPress Posts Bulk Editor Professional](https://wordpress.org/plugins/bulk-editor/):
is WordPress plugin for managing and bulk edit WordPress posts, pages and custom
post types data in robust and flexible way! Be professionals with managing data 
of your site!

✅ [WOOT – WooCommerce Active Products Tables](https://wordpress.org/plugins/profit-products-tables-for-woocommerce/):
is WooCommerce plugin for displaying shop products in table format. Tables makes
focus for your buyers on the things they want to get, nothing superfluous, just 
what the client wants, and full attention to what is offered!

✅ [TABLEON – WordPress Post Tables Filterable](https://wordpress.org/plugins/posts-table-filterable):
WordPress plugin for displaying site posts and their custom post types in table 
format. Tables makes focus for your customers on the things they want to get, nothing
superfluous, just what the client wants, and full attention to what is offered!

✅ [MDTF – WordPress Meta Data Filter & Taxonomies Filter](https://wp-filter.com/):
the plugin for filtering and searching WordPress content in posts and their custom
types by taxonomies and meta data fields. The plugin has very high flexibility thanks
to its rich filter elements and in-built meta fields constructor!

✅ [WPCS – WordPress Currency Switcher](https://wordpress.org/plugins/currency-switcher/):
is a WordPress plugin that allows to switch currencies and get their rates converted
in the real time on your site!

### License

This plugin is copyright pluginus.net © 2012-2026 with [GNU General Public License](http://www.gnu.org/copyleft/gpl.html)
by realmag777.

This program is free software; you can redistribute it and/or modify it under the
terms of the [GNU General Public License](http://www.gnu.org/copyleft/gpl.html) 
as published by the Free Software Foundation; either version 2 of the License, or(
at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY 
WARRANTY. See the GNU General Public License for more details.

## Installation

 * Download to your plugin directory or simply install via WordPress admin interface.
 * Activate.
 * Use.

## FAQ

Q: Where can I see demo?
 R: [Demo page 1](http://cars.wp-filter.com/simple-taxonomy-chain-menu/)
R: [Demo Ready Chain](http://woocommerce.wp-filter.com/simple-taxonomy-chain-menu-2/)
R: [Compatible with TABLEON](https://demo.posts-table.com/taxonomy-chain-menu/) 
R: [Compatible with WOOT](https://demo.products-tables.com/taxonomy-chain-menu/)
R: [Compatible with WOOF](https://demo.products-filter.com/taxonomy-chain-menu/)

Q: Documentation?
 R: [www.pluginus.net](https://pluginus.net/shop/wordpress-plugins/wordpress-filter-plugins/taxonomy-chain-menu/)

Q: Video?
 R: [www.youtube.com](https://www.youtube.com/watch?v=q75upi1ldZg&ab_channel=PluginUs.NET)

Q: Support?
 R: [www.pluginus.net](https://pluginus.net/support/forum/taxonomy-chain-menu/)

Q: Where can I send security bug report about the plugin?
 R: You can report security
bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team
help validate, triage and handle any security vulnerabilities. [Report a security vulnerability.](https://patchstack.com/database/vdp/taxonomy-chain-menu)

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Taxonomy Chain Menu” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ RealMag777 ](https://profiles.wordpress.org/realmag777/)

“Taxonomy Chain Menu” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/taxonomy-chain-menu/contributors)
for their contributions.

[Translate “Taxonomy Chain Menu” into your language.](https://translate.wordpress.org/projects/wp-plugins/taxonomy-chain-menu)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/taxonomy-chain-menu/),
check out the [SVN repository](https://plugins.svn.wordpress.org/taxonomy-chain-menu/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/taxonomy-chain-menu/)
by [RSS](https://plugins.trac.wordpress.org/log/taxonomy-chain-menu/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.0.9

 * all features are for free
 * 1 security fix, thanks to Peter Thaleikis and Wordfence.com

#### 1.0.8

 * select_width: widths for drop-downs in chain. Use one value or some separated
   by ‘|’. Examples: ‘300px’, ‘300px|250px|20%’. Last value is actual for drop-downs
   in chain with number 3 and more.
 * max_posts_count: set maximum count of posts in posts drop-down
 * posts_orderby: how to order posts in posts drop-down (by title, id, meta). By
   default: title.
 * posts_order: posts order direction in posts drop-down. Possible values: ASC, 
   DESC
 * posts_order_meta_key: here is meta key by which posts in posts drop-down should
   be ordered. Be care – meta values should exist in the requested posts. Example:[
   taxonomy_chain_menu post_slug=’product’ taxonomy=’product_cat’ posts_orderby=’
   meta_value_num’ posts_order_meta_key=’prod_1′ posts_order=’DESC’]

#### 1.0.7.2

Plugin release. Operate all the basic functions.

## Meta

 *  Version **2.0.9**
 *  Last updated **2 сар ago**
 *  Active installations **100+**
 *  WordPress version ** 4.1.0 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.4 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/taxonomy-chain-menu/) ба [Russian](https://ru.wordpress.org/plugins/taxonomy-chain-menu/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/taxonomy-chain-menu)
 * Tags
 * [filter](https://mn.wordpress.org/plugins/tags/filter/)[menu](https://mn.wordpress.org/plugins/tags/menu/)
   [product filter](https://mn.wordpress.org/plugins/tags/product-filter/)[taxonomy](https://mn.wordpress.org/plugins/tags/taxonomy/)
 *  [Advanced View](https://mn.wordpress.org/plugins/taxonomy-chain-menu/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/taxonomy-chain-menu/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/taxonomy-chain-menu/reviews/)

## Contributors

 *   [ RealMag777 ](https://profiles.wordpress.org/realmag777/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/taxonomy-chain-menu/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://pluginus.net/shop/wordpress-plugins/wordpress-filter-plugins/taxonomy-chain-menu/)