Support » Plugin: Widget Logic » Parent, Child and Grandchild

  • Hi There!
    Currently we’re using this code

    global $post; return (is_page(‘home’) || ($post->post_parent==”13″));

    but we also want to include not just child pages, but grandchild pages.

    Please let me know!

  • The topic ‘Parent, Child and Grandchild’ is closed to new replies.