Thread Starter
Si
(@mr_aux)
or how can I sort the posts by rating score on each category.
and where should I put the code
thanks
Similar to the last Q of https://ww.wp.xz.cn/plugins/wp-postratings/faq/
<?php query_posts( array( 'meta_key' => 'ratings_score', 'orderby' => 'meta_value_num', 'order' => 'DESC' ) ); ?>
For category and where to place it you want to know more learn more, please read up on http://codex.ww.wp.xz.cn/Function_Reference/query_posts and http://codex.ww.wp.xz.cn/Class_Reference/WP_Query
because it has nothing to do with the plugin any more.
Thread Starter
Si
(@mr_aux)
in rating template I use %RATINGS_SCORE% so when I’m sorting by
?r_sortby=most_rated&r_orderby=desc
or
?r_sortby=highest_rated&r_orderby=desc
items is not in wright position.
what should I do.
most_rated and highest_rated is sorted by ratings_users and ratings_average and not score. There is no query string for score.
You have to do it in my first reply to you.
Thread Starter
Si
(@mr_aux)
ok Thanks.
And other one question
how can I check if it is not human rated?
I have a problem with voting. and there are maybe some bots or something else.