Newly created menu automatically add all pages to it when a menu is not assigned
-
Hi,
I think I’m trying it wrong. I’ve created a new menu at a theme location using below code.
wp_nav_menu( array( 'sort_column' => 'menu_order', 'container_id' => 'rockbottomnav' , 'menu_class' => 'rockbottom-menu', 'theme_location' => 'rockbottomnav') );
Everything works fine. But I’m wondering if it’s possible to not show all pages listed automatically on that navigation when that navigation is not assigned a menu via theme locations under menus. I’m sure this is possible but I just can’t seem to get it working.
Thank you so much in advance.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Newly created menu automatically add all pages to it when a menu is not assigned’ is closed to new replies.