Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Manu/Navigation helper functions
#3
The I18N (navigation) plugin also supports this functionality.
However, you need to know the level of the page.

If your current page is on the top level, you get the information with:
Code:
$childpages = return_18n_menu_data(return_page_slug(),1,1);
or - if the child pages do not show in the menu - with:
Code:
$childpages = return_18n_menu_data(return_page_slug(),1,1,I18N_SHOW_PAGES);
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply


Messages In This Thread
Manu/Navigation helper functions - by RobA - 2011-04-30, 05:08:18
Manu/Navigation helper functions - by mvlcek - 2011-04-30, 21:51:32
Manu/Navigation helper functions - by mvlcek - 2011-04-30, 21:59:26
Manu/Navigation helper functions - by RobA - 2011-05-01, 02:49:41
Manu/Navigation helper functions - by mvlcek - 2011-05-03, 00:11:53
Manu/Navigation helper functions - by RobA - 2011-05-03, 02:05:16
Manu/Navigation helper functions - by n00dles101 - 2011-05-03, 03:21:09
Manu/Navigation helper functions - by RobA - 2011-05-04, 00:08:06



Users browsing this thread: 1 Guest(s)