Polylang compatibility
-
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)
Viewing 1 replies (of 1 total)
- The topic ‘Polylang compatibility’ is closed to new replies.