Compound Searcher

Created by: gnaka08

Rating:
Downloaded: 843 times

The plugin gives search boxes on the blog additional functionalities for operators among search words, such as Google’s. The other supported operators than the standard ‘and’ search are OR, -(exclude), *(any string) and parenthesis.

The plugin contains SearchWordsSQL and Genericons libraries. These are subject to the respective licenses. If you want to redistribute this plugin with Genericons, you may have to comply with GPLv2 (not lesser).

Search Operators

  • Specify words separated by space(s) to search posts containing all the words.
  • Quote a string containing space(s) by double quotes to search posts which contain phrase(s) consisted of those words only in the order.
  • Insert an asterisk (*) in a word without any space to search posts which contain the word(s) regardless of what the part of the asterisk is.
  • Prepend a minus sign (-) without any space to a word to search posts which do not contain the word(s).
  • Specify two words separated by ” OR ” in upper case to search posts which contain either of words or both. This takes precedence over words separated by space(s) only.
  • You can combine the above expression. Use a pair of parenthesis to group expressions if needed.

It searches in the bodies and titles of posts in a case-insensitive manner.

Screenshots

    Categories

    Get New Themes & Resources