Title: conditional menu
Last modified: June 25, 2021

---

# conditional menu

 *  [juergensmeyer](https://wordpress.org/support/users/juergensmeyer/)
 * (@juergensmeyer)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/conditional-menu-7/)
 * Hey all,
 * my problem:
    I need a navbar with a „main menu“ & below a navbar with a „submenu“.
   Depending on the page that is accessed via the „main menu“, a customized/different
   submenu should appear.
 * My solution steps:
    I tried a few plugins, but got nowhere with any of them. 
   In addition, I have also tried to build a conditional menu via php, but here 
   always depending on the condition „main menu“ & „submenu“ has adapted equally.
   Means „main menu“ & „submenu“ were always the same.
 * Can someone help me?
    Theme: Astra
 * Many thanks.
    Max

Viewing 1 replies (of 1 total)

 *  [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/conditional-menu-7/#post-14597192)
 * I would build the menu into the page content. You can make it out of a text or
   menu widget or reusable block (soon there will be a navigation block) or use 
   one of the plugins that does the same thing. There are several plugins that help
   you show different widgets on different pages. But it’s easiest if you just put
   the links you want into the page itself.

Viewing 1 replies (of 1 total)

The topic ‘conditional menu’ is closed to new replies.

## Tags

 * [conditional menu](https://wordpress.org/support/topic-tag/conditional-menu/)
 * [menu](https://wordpress.org/support/topic-tag/menu/)
 * [navigation](https://wordpress.org/support/topic-tag/navigation/)
 * [submenu](https://wordpress.org/support/topic-tag/submenu/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Joy](https://wordpress.org/support/users/joyously/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/conditional-menu-7/#post-14597192)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
