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 👍
Facebook
Twitter
LinkedIn
Pinterest
Tumblr
e-Mail

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

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

후기

2023년 2월 27일 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"
2022년 10월 25일 1 reply
Does exactly what is advertised and easy to configure!
2022년 7월 18일 1 reply
Well this was a nice discovery, a gem in the rough it seems. Thanks Dev for this lively addon. Does exactly what it says it does, and well. Works well with Custom Post types too. Cheers
모든 5 평가 읽기

기여자 & 개발자

“Automatically Hierarchic Categories in Menu”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

변경이력

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 paid 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