Custom Fields
Re-Envisioned
Support MB Relationships pre_get_posts to get all posts connected to single object Reply To: pre_get_posts to get all posts connected to single object

#11664

Clayton Collie
Participant

On second look, parse_query is throwing off the entire query so the post type archive doesn’t even get the post type it is associated with. I am getting the proper related post just fine but I am loosing the post type for the entire query. It seems like I am overriding my entire query and just setting the relationship query instead of adding the two queries together.