Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Page & Category Menu Bars (http://forum.bytesforall.com/forumdisplay.php?f=10)
-   -   [SOLVED] Different menu on each page (http://forum.bytesforall.com/showthread.php?t=13599)

freelancekonsulenten Apr 1, 2011 03:29 AM

[SOLVED] Different menu on each page
 
I have 10 different menus, and I would like to have a different menu on each page.

Menu 1 on page 1
Menu 2 on page 2
etc.

Anybody knows how to do this??

Thank you.

I am using WP 3.1 and Atahualpa 3.6.4

juggledad Apr 1, 2011 03:50 AM

I would experiment with adding a new widget area to the header configuration. then put one menu widget in for each page and use the 'widget-logic' plugin to control what version of the widget is active for each page.

it will take some experimenting and probably some playing with the CSS and maybe some hacking of the widget code, but that is my suggestion.

freelancekonsulenten Apr 1, 2011 09:17 AM

Thank you.

That was a good idea, but it didn't do the trick completely.
I now have the menus vertical instead of horisontal.
Is there any way to fix that, or should I try to find another solution??

juggledad Apr 1, 2011 09:40 AM

What plugin/widget did you use?

freelancekonsulenten Apr 1, 2011 11:49 AM

Display Widgets.
You can see how it looks here http://www.wiika.com/bolig/

juggledad Apr 1, 2011 01:57 PM

Here is another thought.

Make sure you have %pages in the 'Configure Header Area'
Next build a custom menu for each page.

one at a time
a) set a custom menu as the 'menu 1'
b) go visit the site and you will see the menu
c) view the source code and locate the menu html (it will begin with '<div id="menu1"')
d) copy all the menu HTML and add it to one of the text widgets you previously created.

There will be some slight differences from the CSS that the actual menu uses but you should be able to fix it using CSS Inserts and now you have your horizontal menus different for each page

jakobsmith Apr 1, 2011 04:27 PM

Just a quick thought: What about doing a PHP Switch/Case statement with the page-IDs as parameters?

http://php.net/manual/en/control-structures.switch.php

Put it in Atahualpa Options -> Header Area -> Style and Edit Header Area -> Configure Header Area


All times are GMT -6. The time now is 04:36 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.