Hmm strange it seems like I cant add a comment, it says I already did it – but nothing is shown.
Yes that looks good, but when I search it doesn’t take the sort_by=featured_desc doesnt’ affect the search result. I would expect that if I search on a search engine.
Another thing is that if I have a featured listing, I would expect to get something for that – meaning that when one of my clients pay for a featured listing, they expect to get a highlighted display and that they get first in result. Can I somehow change that by adding some php code in the functions.php like a hook or something that overrules the order by in the search.
I have seen an example where you use $wpdb->posts and change the “order by”, to title. But this one is probably located in the wp_postmeta, therefore I am not sure how to overrule the order by.
Is that possible?
Another thing – I have attached a piece of code you might find useful for your plugin. It creates a short code which checks the tags on a regular post and compares it to places tags. In that way it shows targeted places. This is very useful when you run a blog 🙂
Regards
Peter