Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Different menu in header/sidebar
#1
Hello,

Its possible to display a different menu in header and sidebar?

I wanna display sections on sidebar and index link+contact page only after header/logo

Thank you.
Reply
#2
It’s possible if you make your own menu function. The menu function included with GetSimple will always insert the same menu.

You can change the template files to include anything in the sidebar. If you need more specific help feel free to come back with more specific questions.
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply
#3
Hello,

I need display in top menu Index + Contact Page, and disable listing of these pages in Sidebars menu

Thank you.
Reply
#4
I'm interresting in this.
Choose what to display or not in 2 different ways si that the <?php get_navigation(return_page_slug()); ?> can't be used (because we'll get the same menu and we want it different).

I want this to get the function in <?php get_navigation(return_page_slug()); ?> that add "current" to the class.

Any idea ?
Reply
#5
daminoweb Wrote:Chose what to display or not in 2 different ways si that the <?php get_navigation(return_page_slug()); ?> can't be used (because we'll get the same menu and we want it different).
Check out the I18N plugin, it provides the possibility to create main and secondary navigations with different levels of depth.

Hope it helps.
Reply
#6
Finaly I made my "alternative menu" with link "hand coded" and I play with CSS ID and the <?php get_page_slug(); ?> function to maintain a special style to the menu item corresponding ti the page I'm on.
Reply
#7
daminoweb Wrote:Finaly I made my "alternative menu" with link "hand coded" and I play with CSS ID and the <?php get_page_slug(); ?> function to maintain a special style to the menu item corresponding ti the page I'm on.
Could you share your code with us? I'm interested in this.
Reply
#8
andyash Wrote:
daminoweb Wrote:Finaly I made my "alternative menu" with link "hand coded" and I play with CSS ID and the <?php get_page_slug(); ?> function to maintain a special style to the menu item corresponding ti the page I'm on.
Could you share your code with us? I'm interested in this.

I would also be interested in your code, share it here, please.
Reply
#9
I would be interested too. I´m also looking for a way to create different Menus.
Reply
#10
Simplest way for different menus:
1. install i18n navigation plugin
2. create a top lvl page, set it up as "private", and don't add it to the menu.
Name it, lets say: menu2
3. create as many pages for menu2, as you want
4. prepare your menu (stylize it as you want) and display it for pages inside menu2 using command:

....
<nav>
<ul id="menu2">
Code:
<?php get_i18n_navigation("menu2", 1, 3); ?>
</ul>
</nav>
....
Addons: blue business theme, Online Visitors, Notepad
Reply




Users browsing this thread: 2 Guest(s)