PDA

View Full Version : Is their a Hook for Custom Search fields?


Mr Happy
05-28-2010, 06:39 PM
I made a plugin that adds an extra field to posts on my site which works fine. It's like a site rating system.

I want to add an extra search field to the search area so I can add the additional site rating parameter to the search. I'm wondering how to do this and what hooks to use.

The parameter is just an extra digit between 1 - 10 but I want members to be able to search for eg. greater than 5 rating or rating == 10.

from mysql point of view it's just WHERE site_rating > '$value' but I was hoping to add it as a hook instead of going editing php files.

Any suggestion, tips or advice on how best to achieve this?

WoGuziczek
07-12-2011, 11:32 PM
Refresh