Title: [Plugin: Search Everything] Search multiple terms
Last modified: August 19, 2016

---

# [Plugin: Search Everything] Search multiple terms

 *  [deadhippo](https://wordpress.org/support/users/deadhippo/)
 * (@deadhippo)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-search-everything-search-multiple-terms/)
 * I would like to be able to get results for multiple term searches. Will this 
   feature be added?
 * [http://wordpress.org/extend/plugins/search-everything/](http://wordpress.org/extend/plugins/search-everything/)

Viewing 11 replies - 1 through 11 (of 11 total)

 *  [adige72](https://wordpress.org/support/users/adige72/)
 * (@adige72)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-search-everything-search-multiple-terms/#post-2048724)
 * This would be great for me too!
 * I found a code that should be modified in order to show posts instead of echoing
   text. Have a look at that topic, it might be good starting point for developers:
 * [http://wordpress.org/support/topic/searcg-multiple-taxonomy-term?replies=1](http://wordpress.org/support/topic/searcg-multiple-taxonomy-term?replies=1)
 *  Thread Starter [deadhippo](https://wordpress.org/support/users/deadhippo/)
 * (@deadhippo)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-search-everything-search-multiple-terms/#post-2048725)
 * I switched over to the Relevanssi plugin. It works really well for taxonomies
   and seems to be updated regularly too.
 *  [adige72](https://wordpress.org/support/users/adige72/)
 * (@adige72)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-search-everything-search-multiple-terms/#post-2048726)
 * So you can get results for multiple term searches?
 *  Thread Starter [deadhippo](https://wordpress.org/support/users/deadhippo/)
 * (@deadhippo)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-search-everything-search-multiple-terms/#post-2048727)
 * Yes, I can. And there are cool options like show results with both terms or either
   terms and other relevancy options. Check it out.
 *  [Rollike](https://wordpress.org/support/users/rollike/)
 * (@rollike)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-search-everything-search-multiple-terms/#post-2048728)
 * Is it possible to pick the words from e tag cloud or list?
 * I would like the same search feature, but wan’t my readers to pick tags from 
   a list is this possible?
 *  Thread Starter [deadhippo](https://wordpress.org/support/users/deadhippo/)
 * (@deadhippo)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-search-everything-search-multiple-terms/#post-2048729)
 * I don’t really know what
    are asking but you should just test it.
 *  [Rollike](https://wordpress.org/support/users/rollike/)
 * (@rollike)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-search-everything-search-multiple-terms/#post-2048730)
 * I have been tryin / testing this and several other plugins but have not had any
   luck finding a good solution… 🙁
    But let me know if you see such a feature 🙂
   thanks
 *  [roaming_elephants](https://wordpress.org/support/users/roaming_elephants/)
 * (@roaming_elephants)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-search-everything-search-multiple-terms/#post-2048750)
 * Hello there!
 * I am currently trying to do a similar thing, namely find a plug in which would
   pick up on all the relevant tags. I am using Media-Tags plug in to tag all my
   photos and media content.
 * Before I proceed, I must admit, I am relatively new to WordPress – I can cut 
   and paste code where required but I really have no idea (yet) how to write my
   own.
 * Anyhow, I have tried Search Everything and it is one of the rare, brilliant and
   simple plug-ins that picks up on all my tags – so kudos! However, the issue with
   it is that it defaults to AND logic and therefore for multiple terms it often
   yields no results, i.e. if your search terms are X and Y, then it only yields
   results if it finds both terms within a post, attachment, etc. However, if all
   the terms are connected with OR operator (which is that vertical line “|”), then
   it performs, i.e. if you search for X | Y then you get a score. This is a bit
   annoying because not all of my site visitors know how to use boolean operators.
 * Does anyone know how this can be changed?
 * I have also tried Relevanssi, and it looks pretty cool for everything else except
   for custom tags (or at least I still haven’t figured out a way how to do this–
   if anyone knows, please let me know).
 * Cheerios!
 *  [roaming_elephants](https://wordpress.org/support/users/roaming_elephants/)
 * (@roaming_elephants)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-search-everything-search-multiple-terms/#post-2048751)
 * I’ve just found a great thread on this… see the following link, it seems as though
   the solutions is (almost) there…
 * [https://core.sproutventure.com/issues/1118](https://core.sproutventure.com/issues/1118)
 *  [roaming_elephants](https://wordpress.org/support/users/roaming_elephants/)
 * (@roaming_elephants)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-search-everything-search-multiple-terms/#post-2048752)
 * Found the solution… see here: [http://wordpress.org/support/topic/plugin-search-everything-after-last-update-two-words-searches-dont-work-with-tags?replies=9](http://wordpress.org/support/topic/plugin-search-everything-after-last-update-two-words-searches-dont-work-with-tags?replies=9)
 * The key appears to be in replacing the line 197 of the search-everything.php 
   file:
 *  $where = str_replace( “)))”, “)$searchQuery))”, $where );
 * with the following line:
 *  $where = str_replace( “)) “, “)$searchQuery) “, $where );
 * This seems to be working for me now.
 *  [shauny](https://wordpress.org/support/users/shauny/)
 * (@shauny)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-search-everything-search-multiple-terms/#post-2048760)
 * I tried the fix above but there is still a problem.
 * If I have a custom field called “colour” and a value of “red”, and a custom field
   called “material” and a value “cotton” then searching for [red cotton] shows 
   nothing.
 * Also if the title of the post is “Shirt” and I search [red shirt] nothing is 
   returned.
 * It needs to mix together all the custom fields before performing the search, 
   but it seems it does not. Is there a fix for this?

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘[Plugin: Search Everything] Search multiple terms’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/search-everything_242529.svg)
 * [Search Everything](https://wordpress.org/plugins/search-everything/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/search-everything/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/search-everything/)
 * [Active Topics](https://wordpress.org/support/plugin/search-everything/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/search-everything/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/search-everything/reviews/)

 * 11 replies
 * 5 participants
 * Last reply from: [shauny](https://wordpress.org/support/users/shauny/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-search-everything-search-multiple-terms/#post-2048760)
 * Status: not resolved