Title: Polylang compatibility
Last modified: May 27, 2018

---

# Polylang compatibility

 *  [sasha3465](https://wordpress.org/support/users/sasha3465/)
 * (@sasha3465)
 * [8 years ago](https://wordpress.org/support/topic/polylang-compatibility-10/)
 * 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](https://wordpress.org/support/users/mattkeys/)
 * (@mattkeys)
 * [8 years ago](https://wordpress.org/support/topic/polylang-compatibility-10/#post-10329025)
 * 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.

 * ![](https://ps.w.org/wp-nav-plus/assets/icon-256x256.jpg?rev=1724550)
 * [WP Nav Plus](https://wordpress.org/plugins/wp-nav-plus/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-nav-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-nav-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-nav-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-nav-plus/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Matt Keys](https://wordpress.org/support/users/mattkeys/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/polylang-compatibility-10/#post-10329025)
 * Status: not resolved