Title: Dynamic menu
Last modified: August 19, 2016

---

# Dynamic menu

 *  Resolved [pankipan4e](https://wordpress.org/support/users/pankipan4e/)
 * (@pankipan4e)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/dynamic-menu-3/)
 * How to make the main menu change dynamically according to some logic? Example:
   
   If page_1 is shown,the menu should be (menu_1, menu_2, menu_3, menu_4, menu_5)
 * If page_2 is shown,the menu should be (menu_1, menu_2, menu_6, menu_7, menu_5)
 * If page_3 is shown,the menu should be (menu_1, menu_2, menu_8, menu_9, menu_5)
   
   Basically, some menu buttons should be visible all the time, and some should 
   change. Maybe somehow with the Appearance–>Menus? Because I need 4 different 
   menus, I was thinking maybe creating 4 custom menus and choose which one to show
   when.

Viewing 1 replies (of 1 total)

 *  Thread Starter [pankipan4e](https://wordpress.org/support/users/pankipan4e/)
 * (@pankipan4e)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/dynamic-menu-3/#post-1873993)
 * Solved this on my own 🙂 Created few custom menus and then called them with the
   [wp_nav_menu()](http://codex.wordpress.org/Function_Reference/wp_nav_menu) function
   when I needed them 🙂

Viewing 1 replies (of 1 total)

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

## Tags

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

 * 1 reply
 * 1 participant
 * Last reply from: [pankipan4e](https://wordpress.org/support/users/pankipan4e/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/dynamic-menu-3/#post-1873993)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
