[Resolved] Find posts/pages that do NOT contain a search term given by shortcode-attribute?
This thread is resolved. Here is a description of the problem and solution.
Problem:
The issue here is that the customer wanted to do a text search using our views plugin but instead of searching for texts that were entered the user wanted to do a search and return posts that do NOT contain the items searched for.
Solution:
In this case no its not possible since its a parametric search.
So its not possible to do it like this, only with static filters.
This support ticket is created 6 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
From your post I gather that you want to filter for all the posts that don't have a certain value correct? This value will be specified by the shortcode parameters.
I´m sorry, I think I got you wrong.
What I wanna do is search posts by custom search ,
- by taxonomy filter
- that do NOT! contain a certain text in post title and post body.
All these values should be passed to the custom search by shortcode attribute.