Automatically Hierarchic Categories in Menu
Automatically Hierarchic Categories in Menu
Description
Warning: After updating from pre-2.0.7 to the lastest version, the plugin cannot reactivate itself. Please reactivate the plugin manually.
Allows you to automatically / dynamically add hierarchical categories ( with sub-categories ) to WordPress navigation menus using shortcode.
HTML and CSS knowledge may be required depending on the theme.
Visit my blog for support request and feedback.
Please comment 💬, rate ⭐ and share 👍
↪ X (Twitter)
↪ Tumblr
Installation
- Add the plugin’s folder in the WordPress’ plugin directory, or install the plugin through the WordPress plugins screen directly..
- Activate the plugin through the ‘Plugins’ screen in WordPress.
Usage
- Go to Apperarance -> Menus
- Click ‘Screen Options’ on the top right
- Check and open ‘Auto Category Shortcode’ option
- Type your shortcode with parameters, e.g. [autocategorymenu hide_empty=”0″]
Screenshots

Define post categories

Open input area

Add shortcode to menu

Add shortcode to menu on "Block Editor - Beta"

Twenty Nineteen 1.8 on WordPress 5.0.2

Twenty Twenty 1.6 on WordPress 5.0.2

Twenty Twenty-One 1.1 on WordPress 5.6

Astra 3.0.1 on WordPress 5.6

PopularFX 1.2.0 on WordPress 5.6

Twenty Twenty-Two 1.2 on WordPress 6.0.1

Twenty Twenty-Three 1.0 "Block Editor - Beta"

Twenty Twenty-Three 1.0 on WordPress 6.1.1

Enwoo (EnvoThemes) on WordPress 6.1.1
Reviews
Plugin add hidden text link
By invokerkael on October 1, 2025
This plugin add hidden link: atakanau[.]wordpress[.]com in file code includes/class-auto-hierarchic-category-menu.php row 285. Please check and report this
Amazing
By lagiulsss on July 10, 2025
I took me a bit to make it work the way I wanted with all the subcategories, but after that has been working very well. Don't need to worry to edit the front-end menu if you change name or delete in back-end, it will automatically do it.
Real time saver
By aaronlkh on September 19, 2024
Had been spending a lot of time adding menu items manually from my hierarchical categories. Still not too late to save time from now on. And it works great with Otography theme. Thank you developer!
Amazing
By Ringdal on January 4, 2024
What a wonderful plugin. I am handicapped and my right arm is not working well, but I own over 50 websites and have built all of them myself. Working with wrong hand (I am right handed and damaged right arm in accident) i.e. left hand takes time. I love everything automatic which makes my life easier. That is why I loooove this plugin. 🙂 Million thanks to the developer(s).
Great plugin
By mauriciogonzalez on September 27, 2023
Simple plugin that covers a functionality missed in both in WP and WooCommerce.
Simple yet powerful plugin!
By Ivana (krabikrabi) on September 12, 2023
If you have many product or post categories this plugin is a real gem! Easy to configure, and if any help needed Atakan is greatly supportive. Thank you, cheers
Good solution for include categories in menu
By zebullon on August 2, 2023
This plugin is the only one for include categories in menus. I put 4 stars out of 5 because it remains to clarify the documentation or to include a syntax generator directly on the wordpress site…
Regards
Not work with disabled hierarchical
By rezat1994 on February 27, 2023
When we disable the woocommerce hierarchical option, the plugin still generates the category links as hierarchical mode.
I think on line 248 of class-auto-hierarchic-category-menu.php file, the slug param must be passed as "$slug" and not "$slug.'/'.$category->slug"
Excellent
By renatomiguel on October 25, 2022
Simple & Useful!
By Stelios Agoropoulos (steliosagoro) on August 8, 2022
Changelog
Version 2.0.10
- Parameter values escaped.
For the changelog of earlier versions, please refer to changelog section on blog.