2012-04-21, 06:46:28
andyash Wrote:I am trying this but my menu doesn't show the third level child pages. I tried substituting the third parameter with null and 0 and 99 but it didn't work.
My previous answer was incorrect :-(
The code to show all levels independent of the current page should be:
Code:
<?php get_i18n_navigation("parent-url-name", 1, 99, I18N_SHOW_MENU); ?>
And if you want the current page/path to be marked with classes (current, currentpath), you should use the following code:
Code:
<?php
$bc = return_i18n_breadcrumbs(return_page_slug());
get_i18n_navigation($bc[0]['url']=='parent-url-name'?return_page_slug():'parent-url-name',1,99,I18N_SHOW_MENU);
?>