Automatically Hierarchic Categories in Menu


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)

🪙 Scan via Binance App to send donation:


  • 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


  1. Add the plugin’s folder in the WordPress’ plugin directory, or install the plugin through the WordPress plugins screen directly..
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.


  1. Go to Apperarance -> Menus
  2. Click ‘Screen Options’ on the top right
  3. Check and open ‘Auto Category Shortcode’ option
  4. Type your shortcode with parameters, e.g. [autocategorymenu hide_empty=”0″]


12 de Septiembre, 2023 1 reply
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
2 de Agosto, 2023 1 reply
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
27 de Febrero, 2023 1 reply
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"
25 de Octubre, 2022 1 reply
Does exactly what is advertised and easy to configure!
Read all 8 reviews

Contributors & Developers

“Automatically Hierarchic Categories in Menu” is open source software. The following people have contributed to this plugin.


“Automatically Hierarchic Categories in Menu” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “Automatically Hierarchic Categories in Menu” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.


Version 2.0.2

  • Fixed: Pro version compatibility
  • Bumped up “Tested up to: 6.3”

Version 2.0.1

  • Edited: Info text
  • Bumped up “Tested up to: 6.2”

Version 2.0.0

  • Added: New option, add item id to menu item class
  • Added: Taxonomy list on admin panel
  • Added: Expandable with Pro version
  • Bumped up “Tested up to: 6.1.1”

Version 1.02

  • Added: Null array item handler for base category path in PHP
  • Fixed: Broken support link
  • Bumped up “Tested up to: 6.0.1”

Version 1.01

  • Bumped up “Tested up to: 5.9”

Version 1.00

  • Initial version released