Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hide Home Menu - i18n
#1
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?
Reply
#2
You can't remove it from the menu in pages ?
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#3
(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.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
#4
(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.
Reply
#5
you need to put a constant in there like mvlcek said

I18N_SHOW_NORMAL
I18N_SHOW_MENU

Whatever applies to your menu.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#6
nailed it!

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

Thanks!
Reply




Users browsing this thread: 1 Guest(s)