[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 |
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. |
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?? |
What plugin/widget did you use?
|
Display Widgets.
You can see how it looks here http://www.wiika.com/bolig/ |
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 |
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.