• Resolved Birgit

    (@birgit)


    Hi there. πŸ™‚ I am using dynamic menu highlighting on a project, listing four specific pages plus the blog as menu items. I was wondering if someone could give me a pointer on how to keep the pages listed in my menu highlighted as my visitor browse their sub-pages. Using if (is_home() || is_category() || is_single()) I have managed to keep the “Blog” menu item highlighted when visitors are viewing single posts or category archives, but the sub-page problem has got me stumped. Any help would be much appreciated!

    A Merry Christmas to you all,
    Birgit

Viewing 1 replies (of 1 total)
  • Thread Starter Birgit

    (@birgit)

    Just adding to this to say that I have it solved by using the is_child plugin by Erik Range.

Viewing 1 replies (of 1 total)

The topic ‘Menu highlighting – keep parent page current’ is closed to new replies.