One site, 2 distinct sections: two different top nav menus?

I have a site that is in two distinct halves. I’d like the same template to apply to the whole site (from a look & feel perspective), but for each ‘half’ of the site to have its own top nav menu. No side menus are in use.

The home page is going to be a custom page that directs the user to one or other of the two sides.

How might I go about achieving this?

Many thanks

Austen

3 Answers
3

The easiest solution would be to set a cookie. Then check what cookie the user have before you print the menu.

Another solution would be to add a query variable so that the two halves have different urls, for example mysite.com/?half=A and mysite.com/?half=B. Then you check the query var before you print the menu. This solution would make it possible with permalinks for the two different halves. (and you can make the urls pretty if you want)

Leave a Comment