• The new Pages feature sounds like just what I’m interested in – I need to combine news/blog-type content in one part of a site I’m working on with static pages in another area.

    But – I need the navigation to reflect the location – so if I’m in a Pages area, the main and sublevel nav should show the location (by that option being in bold, or otherwise highlighted). See this page, where the main nav and the sublevel nav show the location (clients – case studies): https://www.cooper.com/content/clients/case_studies.asp:

    Is there a way to do this (my php skills are almost zero, but I know how I’d style it in CSS if building flat pages) – a simple ‘if . . . then’ thing?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Have you searched for ‘breadcrumbs’ ?
    I think that’s what you are after.

    Thread Starter doodly

    (@doodly)

    It’s similar to breadcrumbs, but rather than the navigation buttons remaining unchanged whatever page you’re on, and the breadcrumbs showing you where you are, I’d like the nav button for the page you’re in to be changed (different color, bold . . whatever).

    In flat HTML this is easy of course – just change the code for the page you’re in. But with a template-driven system like WP, it needs some dynamic cleverness to do it for you.

    hope that’s a bit clearer.

    wouldn’t you just add an id for the current and active page in the css?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Location-aware navigation?’ is closed to new replies.