• I have a menu structure that looks like this

    • Sustainabillity
    • Sustainable Food
    • Programs
    • Goals
    • Success Stories
    • Manufacturing
    • Programs
    • Goals
    • Success Stories
    • Energy
    • Programs
    • Goals
    • Success Stories

    In my sidebar I have the following code

    <?php
    wp_nav_menu(array(
    	'menu'				=> 'Main Menu',
    	'theme_location'	=> 'main-menu',
    	'container_class'	=> 'menu-sidebar hidden-xs',
    	'container'			=> 'div',
    	'depth'				=> '2',
    	'submenu'			=> ''.$post->ID.''
    ));
    ?>

    When I’m in Sustainable Food, Manufacturing and Energy I see the unique information that belongs with each of these pages (Programs, Goals, Stories) but as soon as I click into Program, Goals and Stories the menu no longer exists on these pages.

    How do I use the plugin allow me to view menu content that is nested.

    Thank You

    https://wordpress.org/plugins/wordpress-wp-nav-menu-filter/

  • The topic ‘2 Levels Deep’ is closed to new replies.