Post feed is not being filtered correctly

  • Posted 3 weeks ago

I have 2 different post types that are not being filtered correctly – the search results are displaying all posts rather than filtered posts. As far as I can see I have set these up correctly. Could someone take a look?

Post types to check: collections, projects, trades.

I want the user to be able to assign trades to both collection and projects, then when they view their single collection or single project, they see the filtered trade posts in there.

I have used the post(id) default value, checked for post relation keys too.

The only thing I can think that is causing this issue is that I was calling collections ‘projects’ recently before changing it back as I now want the 2 post types to function differently.