Site icon Hip-Hop Website Design and Development

Customized menu with extra logic for show

I need to register new wp menu, named hub-menu

register_nav_menus(array( ...
                         'hub-menu' => 'Hub'));

Construction of that menu is as follows:

**Hub Menu**
Hub 1
|_ Spoke 1
|_ Spoke 2
|_ ...
Hub 2
|_ Spoke 4
|_ Spoke 5
|_ ...

and so forth.
Since weblog posts will make up that menu.
I need to present Menu gadgets from the group provided that the publish is inside the group

Instance:
On weblog publish Spoke 5, solely present menu Hub2, Spoke 4, Spoke 5, …
n
On weblog publish Hub 2 present menu Hub2, Spoke 4, Spoke 5, …

Additionally, If menu merchandise has completely different label than publish title (publish title is deafult) it ought to nonetheless work,

thanks for any assist