2012-04-21, 06:28:34
mvlcek Wrote:yojoe Wrote:Mvlcek: does your menu plugin allow to display only slugs of a certain parent ?
Supposing yes, how should I call it ?
I doubt this is going to work: <?php get_i18n_navigation(return_page_slug("parent-url-name")); ?>
If your parent slug is "parent-url-name" and it is on the topmost level (hierarchy level 0), you should be able to display all children (hierarchy level 1) like this:
Code:<?php get_i18n_navigation("parent-url-name", 1, 1); ?>
Or replace the third parameter with null to see the whole subtree.
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.
<?php get_i18n_navigation("parent-url-name", 1, 0); ?>
<?php get_i18n_navigation("parent-url-name", 1, null); ?>
<?php get_i18n_navigation("parent-url-name", 1, 99); ?>
How do I get to show my third level menu as drop down in my second level topmenu. My css is correct since if I change the second parameter to 0 it shows me the root level menu with the second level as drop downs.