Hi there,
thanks for your awesome plugins. I have a quick question.
I'm trying to display the menu using default code/behavior i.e
menu items are starting from level 1 because my parent page (0) being used as a header. the code works well when browse the level 1 page but on the index page I don't see anything.
Normally I need to use this code to show sub pages of a parent page called page-slug
and this code works well but in this case I lose the required behavior i.e displaying child pages of a current opened page.
What should I change in the code to make the menu visible on the main page?
Sorry if it sounds too complicated, I tried to describe my problem as simple as possible
The attached screenshot shows the menu on a sub page (level 1) but is empty on the homepage.
thanks for your awesome plugins. I have a quick question.
I'm trying to display the menu using default code/behavior i.e
Code:
<?php get_i18n_navigation(return_page_slug(),1,99) ?>
menu items are starting from level 1 because my parent page (0) being used as a header. the code works well when browse the level 1 page but on the index page I don't see anything.
Normally I need to use this code to show sub pages of a parent page called page-slug
Code:
<?php get_i18n_navigation('page-slug',1,100,I18N_SHOW_MENU); ?>
and this code works well but in this case I lose the required behavior i.e displaying child pages of a current opened page.
What should I change in the code to make the menu visible on the main page?
Sorry if it sounds too complicated, I tried to describe my problem as simple as possible
The attached screenshot shows the menu on a sub page (level 1) but is empty on the homepage.