Search doesn't exclude posts properly
-
I’m seeing this problem.
I’ve got Search Everything installed and configured to search posts only and to search tags.
I use query_posts($args) to get the posts that meet the user specified search words as shown here:
$args = array('s' => get_search_query(), 'meta_query' => array( array( 'key' => '_Original Post ID', 'compare' => 'NOT EXISTS'))); query_posts($args);
to exclude posts that do not have an Original Post ID.
The results I get seem to be a concatenation of the search results (with the Original Post ID = NOT EXISTS posts excluded), plus any post that has the search keywords as a tag (irregardless of whether the Original Post ID exists on that post or not).
Is this a bug in Search Everything or am I just not understanding something?
Thanks,
Coleen
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Search doesn't exclude posts properly’ is closed to new replies.