Support

Account

Home Forums General Issues Filter By Post_Object Field With Child Pages Selected

Unread

Filter By Post_Object Field With Child Pages Selected

  • We’re trying to output a list of posts that have any of the current page children selected in a specific post_object field.

    Eg:

    Parent
    – Child 1
    – Child 2

    Shortcode used in “Parent” page which shows any post that has “Child 1” or “Child 2” selected in a post_object field.

    I thought it would be pretty simple using get_children() to get the list of relevant IDs but I’m not having much success.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.