Custom Fields
Support MB Relationships No Relationship posts displaying Reply To: No Relationship posts displaying


Anh Tran

Hi Doug,

It’s unexpected behaviour, but it has a reason. To make the query can get posts from any side of the connection, the plugin sets the post_type to any in the query. And WP_Query checks for exclude_from_search in this case. See this:

‘any’ – retrieves any type except revisions and types with ‘exclude_from_search’ set to true.

I don’t know why WordPress sets that :(. It seems kind of weird to me.