Urban Giraffe Support | Search Unleashed
Custom filter - Post meta
Hello,
First of all: thank you so much for this great plugin. It's MUCH better than the usual WP's search feature (no doubt).
I'm just in need of a little help now and I'm willing to donate some bucks to who helps me to solve it. :)
I have this custom field called "votes", which records the number of positive votes (no negative values) that each post received from the audience/readers. (It's a ratings system that I use to meter the popularity and quality of the posts)
In my search form I would like to have this checkbox that should filter specific values on search queries. Example: if user checks the checkbox for "search only posts with more than 5 votes" then it should exclude posts with less than 5 votes on the search query.
In a normal MySQL query I know it should look like this:
SELECT ... WHERE ... AND $wpdb->postmeta.meta_key='votes' AND ($wpdb->postmeta.meta_value*1)>=5 `
I just don't know how to put it in the Search-Unleashed plugin, since it has many triggers.
Any help is very appreciated. ;)
Responses
Posted 3 months ago by Member
I'm currently offering a US$80 donation to anyone who can help me with this topic.
Please?
Posted 3 months ago by Key Master
Sorry, I don't have time to do this right now
Reply
You must log in to post.