using is_page with children pages?
-
I’ve read up on the is_page() tag, and I can see how to choose a banner image based on what Page is displaying. What I’d *really* like to do, though, is to choose a banner image if a child Page is displaying as well. So, for example, I’d like image3.jpg to display if I’m currently on Page 3, Page 3.1, Page 3.2, etc.
Is there an efficient way to do this, or do I have to hard-code each Page number into a separate test?
Thanks…
- The topic ‘using is_page with children pages?’ is closed to new replies.