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 πŸ‘

β†ͺ Facebook
β†ͺ X (Twitter)
β†ͺ LinkedIn
β†ͺ Pinterest
β†ͺ Tumblr
β†ͺ e-Mail

πŸͺ™ Scan via Binance App to send donation:
β–„β–„β–„β–„β–„β–„β–„β–‘β–‘β–‘β–„β–‘β–„β–‘β–‘β–‘β–„β–‘β–‘β–‘β–‘β–„β–‘β–„β–„β–‘β–„β–„β–„β–„β–„β–„β–„
β–ˆβ–‘β–„β–„β–„β–‘β–ˆβ–‘β–€β–‘β–€β–‘β–„β–ˆβ–„β–€β–„β–€β–„β–ˆβ–€β–‘β–‘β–„β–‘β–‘β–ˆβ–‘β–„β–„β–„β–‘β–ˆ
β–ˆβ–‘β–ˆβ–ˆβ–ˆβ–‘β–ˆβ–‘β–€β–ˆβ–€β–‘β–€β–‘β–‘β–ˆβ–€β–‘β–‘β–‘β–ˆβ–„β–ˆβ–‘β–„β–‘β–ˆβ–‘β–ˆβ–ˆβ–ˆβ–‘β–ˆ
β–ˆβ–„β–„β–„β–„β–„β–ˆβ–‘β–ˆβ–€β–„β–€β–ˆβ–€β–„β–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–„β–‘β–ˆβ–„β–„β–„β–„β–„β–ˆ
β–„β–„β–„β–„β–„β–‘β–„β–„β–„β–ˆβ–€β–ˆβ–‘β–‘β–ˆβ–„β–„β–‘β–‘β–€β–‘β–ˆβ–„β–€β–‘β–„β–‘β–„β–‘β–„β–‘β–„β–‘
β–€β–€β–€β–€β–€β–‘β–„β–‘β–ˆβ–‘β–ˆβ–‘β–€β–„β–‘β–ˆβ–‘β–„β–€β–‘β–ˆβ–€β–„β–ˆβ–„β–ˆβ–‘β–ˆβ–ˆβ–ˆβ–€β–„β–‘
β–„β–€β–‘β–ˆβ–‘β–ˆβ–„β–‘β–‘β–„β–„β–‘β–ˆβ–„β–ˆβ–„β–€β–„β–ˆβ–€β–„β–ˆβ–€β–€β–€β–„β–ˆβ–„β–„β–‘β–ˆβ–ˆβ–€
β–ˆβ–‘β–„β–‘β–‘β–‘β–„β–€β–„β–ˆβ–‘β–„β–„β–„β–„β–„β–€β–„β–€β–€β–„β–€β–„β–„β–„β–„β–€β–ˆβ–„β–ˆβ–€β–„β–‘
β–ˆβ–„β–‘β–ˆβ–„β–ˆβ–„β–€β–€β–„β–‘β–ˆβ–‘β–‘β–„β–„β–€β–„β–ˆβ–€β–‘β–„β–„β–€β–‘β–‘β–€β–„β–„β–„β–€β–ˆβ–€
β–‘β–„β–ˆβ–ˆβ–‘β–ˆβ–„β–ˆβ–‘β–€β–„β–‘β–€β–„β–‘β–ˆβ–ˆβ–„β–ˆβ–‘β–ˆβ–€β–„β–ˆβ–„β–ˆβ–‘β–„β–ˆβ–„β–€β–‘β–„
β–ˆβ–€β–‘β–‘β–„β–‘β–„β–ˆβ–ˆβ–„β–ˆβ–‘β–ˆβ–€β–€β–„β–„β–„β–„β–€β–‘β–‘β–‘β–€β–‘β–„β–ˆβ–ˆβ–‘β–‘β–‘β–„β–€
β–ˆβ–‘β–‘β–„β–€β–ˆβ–„β–„β–€β–„β–‘β–„β–„β–‘β–‘β–ˆβ–„β–„β–€β–‘β–„β–€β–ˆβ–€β–ˆβ–„β–€β–€β–„β–‘β–€β–ˆβ–ˆ
β–ˆβ–‘β–ˆβ–€β–‘β–ˆβ–„β–ˆβ–„β–€β–„β–ˆβ–‘β–‘β–‘β–„β–„β–‘β–ˆβ–€β–„β–€β–‘β–€β–„β–„β–ˆβ–„β–„β–ˆβ–‘β–€β–€
β–„β–„β–„β–„β–„β–„β–„β–‘β–ˆβ–€β–„β–‘β–€β–ˆβ–„β–„β–‘β–„β–„β–‘β–ˆβ–€β–‘β–„β–ˆβ–‘β–„β–‘β–ˆβ–‘β–€β–„β–‘
β–ˆβ–‘β–„β–„β–„β–‘β–ˆβ–‘β–„β–‘β–€β–‘β–ˆβ–€β–„β–„β–€β–‘β–„β–€β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–„β–„β–„β–ˆβ–ˆβ–‘β–‘β–ˆ
β–ˆβ–‘β–ˆβ–ˆβ–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–„β–„β–‘β–‘β–€β–„β–„β–‘β–€β–„β–€β–€β–‘β–„β–„β–„β–ˆβ–‘β–€β–€β–€β–‘
β–ˆβ–„β–„β–„β–„β–„β–ˆβ–‘β–ˆβ–‘β–‘β–ˆβ–‘β–‘β–€β–„β–‘β–‘β–€β–€β–„β–„β–€β–ˆβ–ˆβ–€β–„β–‘β–€β–„β–ˆβ–ˆβ–€

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

Installation

  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.

Usage

  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″]

Reviews

September 19, 2024 2 replies
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!
January 4, 2024 1 reply
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).
September 12, 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
August 2, 2023 3 replies
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
February 27, 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”
Read all 10 reviews

Contributors & Developers

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

Contributors

“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.

Changelog

Version 2.0.7

  • Security: XSS JavaScript inject
  • Extended: PRO version compatibility
  • Tested up to:
    • 6.6.x

For the changelog of earlier versions, please refer to changelog section on blog.