Support » Plugins » Change the searchword before searching

  • How can I make a hack or plugin which parses the search-string someone searched for and do some changes on this, if it matches some predefined keywords.

    The goal is to change the searchterm before the search or any other plugins use it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You can use javascript to check and change the value in the search box before the form is submitted.

    I want to make it php based.
    I found the function get_posts() which handles the searching too. I can implement my stuff directly in the source, but thats not very fancy…

    I would like to change the $q[‘s’] variable with a plugin and pass it back to wordpress before searching…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change the searchword before searching’ is closed to new replies.