I have a custom content type of tab_content
with a relationship to a page
.
In my current script I have the id of a page
and I want to do a query that will list all the children of type tab_content
that have the relationship of a page
with the specified id.
All I have so far is:
new WP_Query(array('post_type' => 'tab_content'));
How do I tell the query that the custom field parent
needs to be something like 80
? Thanks