2011-08-27, 22:58:02
Hello,
I'm trying to display sub-pages of current parent including specified parent page itself.
The code I use:
This code displays sub-pages of a page called malta holidays but I need to have the following menu:
My pages structure is:
as you might see I cannot use
because otherwise it will display the required pages plus other pages which I don't need.
Is there any parameter I can use to display the page - malta holidays (1) and its subpages (2) but without other (1) pages?
Thanks.
I'm trying to display sub-pages of current parent including specified parent page itself.
The code I use:
Code:
<?php get_i18n_navigation('malta-holidays',2,2); ?>
This code displays sub-pages of a page called malta holidays but I need to have the following menu:
Code:
- malta holidays
-- sub-pages
My pages structure is:
Code:
Index
- Malta molidays
-- sub page i.e level 2.
-- other page
-- other page
as you might see I cannot use
Code:
<?php get_i18n_navigation('malta-holidays',1,2); ?>
because otherwise it will display the required pages plus other pages which I don't need.
Is there any parameter I can use to display the page - malta holidays (1) and its subpages (2) but without other (1) pages?
Thanks.