query_posts( order by views)
I need to change query_posts so that it orders post by views
like I do with the ratings:
<?php query_posts(‘cat=’.$category.’&showposts=8&paged=’.$page.’&posts_per_page=8&r_sortby=most_rated&r_orderby=desc‘) ?>
using the data in wp_popularpostsdata table
I’m no programmer or developer so I’m asking for your help
- The topic ‘query_posts( order by views)’ is closed to new replies.