Within the code examples is:
global $post; return (in_array(77,get_post_ancestors($post)));
which is that WP page that is a child of page 77. But, I wish to also include that parent page (i.e.: page 77) with this group. Is that possible? Can someone show me?
Thanks so much!
- The topic ‘[Plugin: Widget Logic] Code for Child of a page AND that page.’ is closed to new replies.