• Resolved mitchrenton

    (@mitchrenton)


    Hi Guys,

    I have 5 sets of identical navigation for 5 mini sites under one main landing page (hope that makes sense).

    Here is the code I’ve used https://pastebin.com/m2a2a70b0

    The problem I’m having is that once I am on a sub page, the sub menu’s then dissapear. This is because I am naming only the parent pages in the if statment.

    Is there any way I can ammend this code so it displays the correct sub pages regardless of which page I am on? Page or sub-page or sub-sub-page

    I think I need a statement like: If I am on the about page or any child of about page then display these sub-pages.

    I just don’t know how to mark that up into a query.

    Sorry if this is confusing, but any help would be greatly appreciated.

    Regards,

    Mitch

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Conditional Tags Query…’ is closed to new replies.