Search queries don’t seem to work?
I’ve found that passing post_type doesn’t restrict searches to that type, but just adds that type to the array it already searches. What you can do to build complex search queries is hook pre_get_posts and do a little query manipulation. For a simple example, first I add my own query var to pass to WordPress’s … Read more