Have you tried adding the is_page() conditional like this:
if( has_nav_menu( 'smone-menu', 'responsive' ) && is_page(array( 10,11 ))) {
Related Posts:
- Any docs for wp_nav_menu’s “items_wrap” argument?
- How do I get the name of a menu in WordPress?
- How does a minimal menu walker look like?
- On which hook should I be calling register_nav_menu(s)?
- Is there a way to limit the number of top level items in a custom menu?
- What does a walker menu mean?
- How to highlight the right item in the navbar
- How to implement separate sub-menus?
- Minor css-change based on topmenu – how?
- Add class to all list items of wp_nav_menu
- Number of items in a menu
- How do I prevent the text overflow in menu?
- No link on empty page in wp_list_pages
- How to add a parameter to links in the nav menu?
- Set blog archive to active when browsing archive
- Page-Linking Structure
- Current menu item
- How to quickly create a dummy menu?
- How to display the title for each menu item in a span attribute
- Limit top level menu items on wp_nav_menu
- How do you center the main menu in CSS? [closed]
- How to change the wordpress navigation bar UL to OL in Twenty_Twelve similer theme
- Main Menu and Sub Menu Items for Footer
- Altering html structure and creating custom menus
- How to construct a custom html for submenus
- JSON file export of nav menu
- How to generate a list of child pages, and use some of their custom fields?
- How to add class to and childs of sidebar widget – WordPress
- Hook for number of items in Appearance > Menus > CustomPostType > View All [duplicate]
- add span to top level links of a wordpress menu called “main”
- How to have two menus using Bootstrap nav walker?
- Unable to center menu and header image twenty twelve [closed]
- Debugging – trying to add search box to menus
- Generating wordpress menu – cant understand the config
- How do I add (css) class to a custom link to make it current_page_item
- Display menu locations in all sites of a multi site
- Making a navigation header menu with bulma, need some advice
- header menu structure: cannot add additional menu items without alignment issues
- My menu bar dissapeared with autooptimize [closed]
- target nav class in wp_nav_menu
- How to retrieve parent menu item name of current submenu item
- Admin menu structure
- WordPress default menu in database
- If menu has submenu, add parent as first child
- Create subpages in default WordPress menu
- Admin-ajax.php 500 error when Add to menu is clicked in admin
- replace existing menu programtically
- Submenu page buttons are blank
- How to add an attribute data-slug = “$specfic_page_slug” in WordPress menu item?
- Main menu gets replaced when second menu is created
- Hide menu items if the page content is empty
- Theme only supports one menu? [closed]
- Problem adding ‘has-children’ class to wp_nav_menu
- exclude pages in custom menu
- set certain item in nav walker to active when on archive pages or singles
- wp_nav_menu() | Outputting my own custom code using built in features
- How to reference argument data for wp_nav_menu() from functions.php
- The cart, checkout, and shop links not getting removed
- Creating menu always gives error A name is required for this term
- Showing the same menu in multiple location
- Opening Menu link in another tab
- How to add class to anchor using wp_nav_menu
- displaying meta key value with wp_page_menu
- WordPress Menus – How to add inline styles to UL menus
- Is it possible to link to the same page from wordpress page menu?
- Remove current-menu-item for a specific link
- WordPress website – Mobile menu behavior help
- How to work with a custom theme that someone else created before me? (details below)
- changin the url (permalink as it goes these days) on one specific menu layer
- Custom menu items in admin
- WordPress database issues – menu not saving correctly, media thumbnails not showing
- WordPress Accessible Keyboard Menus
- Parent link need to go first child submenu
- mysterious menu
- Importing large product categories into wordpress menu
- Different HTML markup for similar menus
- Menu for specific user
- All custom links suddenly lack href attributes
- wp_nav_menu custom Page class
- Why does appear? I’m trying to remove a generic link called navigation on my main menu
- Show more menu items to registered members
- WordPress menus – automatically generate
- WordPress – Apperance > Menu
- How to stop showing menu in static home page
- Add a Submenu from Another Submenu in a Custom Theme
- How do I fix the URL used in the WordPress admin menu for customize.php
- Menu id in nav menu ignored
- Bootstrap 3 and WordPress menu navigation menu highlighting
- How do I add a link to the menu that has a charector (?) in it?
- Problem with custom menus
- Custom Class to wp nav menu
- Second tier sidebar navigation
- Problem to asign class to with wp_nav_menu()
- Site with all content on the front page
- creating a left-side sidebar in word press [closed]
- how to add fa fa icons customize menu using wp_nav_menu function?
- Why is my hamburger menu not shown? [closed]
- Custom div to to menu wordpress afte
- Adding padding above menu
- Displaying list of random links using wp_nav_menu