remove results from search results based on custom meta value
-
Hello all,
I want to remove results from search.php based on a posts meta value.
I have set up a “new WP_Query” but on the results page it just lists all the posts in the database.
This is the code I am currently using – https://www.pastie.org/2106317
Any help is much appreciated.
Matt.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘remove results from search results based on custom meta value’ is closed to new replies.