Hi, this works fine.
However, i activated the “Search Everything” plugin that allows to custom fields to be searchable.
The problem is that now the above code ignores the “cat” condition and outputs all posts that have the search term in the custom field.
Any ideas?