Archived topic
Different additional menu for different categories.
5 replies · Started by Luizik on September 4, 2019
Hello, dear developers!
I need for 2 categories different addtitional menu.
For example:
category1 - menu1 apple-orange-lemon
category2 - menu2 table-chair-spoon
1) I created an empty addititional menu and menu1 and menu2
2) I created 2 sidebars in functions.php and put menu1 and menu2 as widgets for them
2) I created two elements in_secondary_navigation as hook for to menu and set as a rule to show menus for sertain categories.
But it does not work. (( It works OK if i choose "after_header", but it has no style at all.
Could you help me please?
For example cc67038.tmweb.ru/kvartiri/ - menu 1 I put as a hook after_header
For example cc67038.tmweb.ru/nejiloye/ - menu 2 I put as a hook inside_secondary_navigation. We can see just a grey line - no menu(
Though I can see it in inspector
Hi there,
Would a plugin like this help to make things simpler?
https://wordpress.org/plugins/if-menu/
Let me know :)
It is a good plugin, but there is no rule for catogories((
You can write your own conditions with that plugin, alternatively search for Conditional Menus i think its a themify pluging that support categories.