• Is this plugin compatible with Polylang?
    Because when I try to use it to create split type menu it returns nothing.

    Here’s code I’m trying to use to create sub-menu in another section of the page structure:

    wp_nav_menu(array(
    	'menu_id' => 'sub-menu',
    	'echo' => false,
    	'start_depth' => 2,
    	'container' => false,
    	'theme_location' => 'main-menu'
    ));

    When I use start_depth nothing is returned, as soon as I remove it all menu items are returned starting from top most.

Viewing 1 replies (of 1 total)
  • Plugin Author Matt Keys

    (@mattkeys)

    Start depth of 2 is maybe too far down your menu structure? Are there 2 levels of children configured in your menu beneath the parent menu item you are viewing?

    If there are no results nothing will show.

    I have not tested with polylang specifically, let me know if you are able to verify any incompabilities there.

Viewing 1 replies (of 1 total)
  • The topic ‘Polylang compatibility’ is closed to new replies.