• Resolved amadhav1

    (@amadhav1)


    Hello,

    I am using multisite, and I am trying to hide some pages from the menu. I tried using my default menu and I also tried using the nested pages menu. I am still unable to get the hide pages to work. I go into menu options, and check Hide in Nav Menu.

    This is what I have in sidebar.php

    <?php wp_nav_menu(array(
    ‘menu’ => ‘nestedpages’,
    ‘container’ => ‘ul’,
    ‘menu_class’ => ‘sidebar__nav’ )); ?>

    If I hide the page it does nothing.

    Thanks,

    Aaron

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Kyle Phillips

    (@kylephillips)

    A couple of things…

    If you haven’t changed the menu name from what the plugin generates, the name is “Nested Pages”:
    'menu' => 'Nested Pages'

    Also, you’ll want to make sure that the “Sync Menu” checkbox is checked for changes to take place.

    • This reply was modified 7 years, 10 months ago by Kyle Phillips.
    Thread Starter amadhav1

    (@amadhav1)

    Thanks, I got it to work.

    Aaron

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘hide pages’ is closed to new replies.