Code to display all child levels (2nd and 3rd)
-
I’m using the current code to display a parent page and its children:
global $post; return (is_page(‘programs’) || ($post->post_parent==”124″));
This does not capture the 2nd and 3rd level children underneath page ID 124. How can I capture that without writing individual logic for each of those? Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Code to display all child levels (2nd and 3rd)’ is closed to new replies.