You can register multiple menus, and display one of them depending on the context.
register_nav_menus( array(
'primary' => 'Regular',
'blog' => 'Blog',
) );
Then in your theme, you select the menu you want:
wp_nav_menu( array(
'theme_location' => (is_page() ? 'primary' : 'blog'),
'menu_id' => 'nav'
) );
Related Posts:
- Sitemap Page build from Menu?
- How can I create a navigation menu in the sidebar that can also act like a slider?
- Programmatically add a Navigation menu and menu items
- User-friendly cropping of post thumbnails?
- Create posts using markdown? [closed]
- Dynamically exclude menu items from wp_nav_menu
- Resizing images to the actual size used in the editor?
- wp_nav_menu(), how to change class?
- Split up wp_nav_menu with custom walker
- How to search all user meta from users.php in the admin
- Is there an easy way to replace a custom menu link with a page or post?
- Open Source replacement for WPML? [closed]
- Mega Menu Walker
- How to Add to Each Menu Link with link text to data-attr?
- Add Javascript to WordPress Menu
- Pretty URLs for File Uploads?
- Filter wp_nav_menu()
- Add custom classes to anchor in wp_nav_menu
- How to modify navigation menu of the “My Account” page in WooCommerce
- Pros/Cons of “WP e-commerce” and “Shopp” plugins [closed]
- Custom ID for certain menu item?
- Multilingual WordPress plugins [closed]
- Add data-icon input to WordPress custom menu links
- Displaying Logged-In User Name in WordPress Menu
- Remove current_page_parent nav class from blog index when in CPT
- WordPress as a CMS Membership website
- Recommendations for a LaTeX Plugin? [closed]
- Remove Container Element From wp_nav_menu() Markup
- Drag & drop HTML5 file upload into the media library?
- Add Dividers or Separators Between Nav Menu Items
- Show just one level of child pages, wp_list_pages woe
- Removing link ” from ” menu for some “links” without JS
- Looking for similar posts plugin with custom tuning [closed]
- Show current navigation path from menu
- Limiting sessions to one IP at a time
- Call custom field into menu item
- Use navigation path from menu for permalink
- Exclude Private, Draft pages from Primary Nav when using custom menu
- add span class inside wp_nav_menu link anchor tag
- Create a Static HTML Site from WordPress
- wp_nav_menu always falls back to a menu
- How can I create a Quora or Stack Exchange facility without using a specialist theme?
- wp_get_nav_menu_items how to exclude sub level menu items?
- Collaborative question/answer plugin for WordPress [closed]
- How to Show Different Sidebars on Specific Pages?
- Multi Level Bootstrap Navigation Menu in WordPress
- How to set limit only on top levels of wp_nav_menu?
- Determine if a navigation item has children
- What’s the easiest way to duplicate an entire navigation menu?
- Publishing presentations in WordPress?
- Plugin that integrates Google Storage with WordPress? [closed]
- Is there a plugin that counts posts by author?
- Fully-featured forum plugin [closed]
- Slideshow control for use in WordPress Thesis theme – non flash
- Analytics plugins that allow for inclusion of _trackPageLoadTime()?
- Advice for implementing single sign-on?
- A good way to maintain a resume on WordPress?
- Bootstrap dropdown nav pills not working with wp_nav_menu()
- Show only 2nd level of navigation depending on active navigation
- Using development versions of jQuery, TinyMCE, …?
- How to move parent li to end of child ul
- Blubrry PowerPress vs. PodPress? [closed]
- How to get a different mobile menu than desktop menu in the twentytwelve child theme
- Add custom attributes to menu items without plugin
- Any high quality form plugins? [closed]
- How to have “Page Title” different than “Menu Title” in wordpress 3.0.3?
- Paid member plugin with some specific features [closed]
- Breadcrumbs showing Parent and Child Pages
- Plugin for event management? [closed]
- Add Page ID class to nav menu items
- How to add menu support to a theme?
- What is the difference between feeds served by my WordPress install vs feeds served by FeedBurner?
- What is a good jQuery content slider plugin? [closed]
- How to highlight the right item in the navbar
- How to add a category or tag to media at upload time with the browser uploader?
- HTML Bootstrap navigation menu to WordPress menu using wp_nav_menu
- Return only top-level navigation items from a menu using wp_get_nav_menu_items
- Is there a wordpress listserv or email group plugin?
- How to manually add an item to a submenu in a menu generated by wp_nav_menu?
- Which tabs widget plugin for wordpress is better? [closed]
- System audit plugin? [closed]
- WordPress Export Import Site Navigation Menu
- Plugin to require Twitter or Facebook login before posting a comment [closed]
- Plugin to embed local video into WordPress? [closed]
- Non-Linear Questionnaires in WordPress
- The holy grail of Event Management Plugins? [closed]
- Using Image Links in WordPress Navigation Menus Instead Of Text Links
- Is there a WordPress Event Manager that links with your user database?
- Amazon-like star ratings plugin needed. Lightweight and effective. Prefer Ajax
- Links open only on new tab or window
- Adding Post Counts to Menu (Nav) Programmatically?
- Not able to get current menu ID
- OpenX Alternative for wordpress? [closed]
- WordPress eCommerce plugin for books
- Replacing WordPress menu functionality with a plugin
- Bar separated navigation by extending Walker_Nav_Menu
- Plugin recommendation – StackExchange style Q&A [closed]
- Filter index page plugin
- Are there any Worpdress plugins to change the theme editor?
- Photo gallery on profile page? [closed]