• Hi,

    I want to be able to use some ‘real’ page navigation on my site.

    I.e. have top level navigation horizontaly along the top and some sub navigation on the site.

    if I have:

    Page 1
    Page 1.1
    Page 1.2
    Page 1.3
    Page 2
    Page 2.1
    Page 2.2

    etc

    I wont to be able to select Page 1 (the section) from the top and only display the sub pages 1.1, 1.2, 1.3 down the side, as you would expect a normal site to work.

    Can i do this?

Viewing 1 replies (of 1 total)
  • Hi there,

    I wrote a conditional tag called is_child() which works like is_page, is_search, etc that lets you do one thing to a page if it is the child of the page you specify.

    https://beingmrkenny.co.uk/wordpress/hacks/is_child/

    You could use it for what you want to do. Let me know how you get on, there’s a comment box on that page if you get stuck ??

Viewing 1 replies (of 1 total)
  • The topic ‘Page navigation’ is closed to new replies.