![]() |
i18N - menu range limited - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13) +--- Thread: i18N - menu range limited (/showthread.php?tid=10892) |
i18N - menu range limited - tomkow - 2019-06-13 Hi all, Is possible to set the limit of display items in menu using this tag: <?php get_i18n_navigation(return_page_slug(),0, 99,I18N_SHOW_MENU); ?> For example: I have 5 sub pages menu1 | menu2 | menu3 | menu4 | menu5 but I want to see on website just 4 sub pages menu1 | menu2 | menu3 | menu4 Method with 'Page Visibility' is excluded. Thanks RE: i18N - menu range limited - multicolor - 2019-06-14 maybe you can use class {display:none} for this on css style? All menu item in i18n have class like slug. Maybe can help for yours problem.like example item1 item2 item3 item4 .item4{ display:none;} RE: i18N - menu range limited - tomkow - 2019-06-19 (2019-06-14, 06:43:48)multicolor Wrote: maybe you can use class {display:none} for this on css style? All menu item in i18n have class like slug. Maybe can help for yours problem.like example This is a nearest solution, thanks RE: i18N - menu range limited - ufopera - 2019-06-21 Here's the solution, but I didn't check PHP Code: $menu_data = return_i18n_menu_data(return_page_slug(),0, 99,I18N_SHOW_MENU) |