• Hi,

    I have a site that has a horizontal navigation bar with the parent links and vertical navigation bars in the sidebar which lists child pages for each parent. I found php in the codex to list only links to child pages for the current parent page, but I would like to also include a link to the parent page in the sidebar as the first link. For example, if the parent page is Research, the first link in the sidebar would be Research Home and underneath it would be the child pages.

    Any ideas? I have a feeling it’s a really simple fix. If you haven’t guessed by now, I’m pretty new to php.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Parent and Child pages in sidebar’ is closed to new replies.