• Hi,

    I’m working on a site with a 2 level menu using wp_nav. So far I’ve managed to make it work as it should, when displays shows up just the first level buttons, then, if you over them, displays the corresponding subitems. When clicking on any of those first level buttons u’re redirected to it’s section. Ok, so far so good.

    Now, after being redirected, that section should display:

    1. The main 2 level menu.
    2. The submenu of the current main menu button that was clicked to access the section we’re in it.

    The submenu must display far away from the main manu, in a separate part of the site theme, so making the main manu to permanently show the submenu of the current section won’t do it, I need the main manu to work the same way as if u were at the home page.

    I cannot use wp_page_list ’cause there are some menu items that are not created from pages, so wouldn’t be displayed.

    In other words, what I need is to get the current section subitems and list ’em in a horizontal way, considering that I’m using the wp_nav menu type instead of a menu based on pages.

    Thanks in advance ??

  • The topic ‘Display wp_nav submenu only’ is closed to new replies.