GetSimple Support Forum

Full Version: Hide Home Menu - i18n
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello guys...

Is there a way to hide the Home (index) link from the menu?

I'm using the i18n plugin and the menu visibility doesnt work anymore.
It doesnt matter if i tell GS to hide it. it always show up in the menu

here is how i call the menu using the i18n plugin

<?php get_i18n_navigation(return_page_slug(), 0,10, show); ?>

Current menu structure is

Home
Menu item1
-menu item1 submenu1
-menu item1 submenu2
-menu item1 submenu3
Menu Item 2
-menu item2 submenu1

and so on.. i just want to hide the HOME link. Any ideas how to do it without using CSS tricks?
You can't remove it from the menu in pages ?
(2014-03-18, 03:08:25)amaurib Wrote: [ -> ]<?php get_i18n_navigation(return_page_slug(), 0,10, show); ?>

And what should show be???
Please use the constants described here.
(2014-03-18, 03:21:05)shawn_a Wrote: [ -> ]You can't remove it from the menu in pages ?
I have removed it from pages options. still the item show up on the menu.

(2014-03-18, 03:24:58)mvlcek Wrote: [ -> ]
(2014-03-18, 03:08:25)amaurib Wrote: [ -> ]<?php get_i18n_navigation(return_page_slug(), 0,10, show); ?>

And what should show be???
Please use the constants described here.

Im using single navigation area located horizontally. If i remove the "show" parameter then the submenus don't appear unless i visit one of the parent menu item.
you need to put a constant in there like mvlcek said

I18N_SHOW_NORMAL
I18N_SHOW_MENU

Whatever applies to your menu.
nailed it!

<?php get_i18n_navigation(return_page_slug(), 0,10, I18N_SHOW_MENU); ?>

Thanks!