I’m working on a theme, and I would like to know if it is possible to show on the sidebar just the parent pages, then, when that parent page is active, show above the child pages.
Example (with no active page):
Now with page 2 active:
– Child Page 1
– Child Page 2
Ohh, and another thing, is there any function in worpress that lets me identify when a link is to an external site or not? It’s just that I wanted the external ones to have a different class.
Thanks in advance for any help provided.
- The topic ‘Sidebar and Pages (plus sub-pages)’ is closed to new replies.