[Resolved] Filter most popular posts
I would like to view the most popular posts on my blog per month. Until now I started a wordpress query:
query_posts(‘meta_key=post_views_count&orderby=meta_value_num&order=DESC&ignore_sticky_posts=1&year=’ . date( ‘Y’, current_time( ‘timestamp’ ) ).’&monthnum=’ . date( ‘n’, current_time( ‘timestamp’ ) ).’&posts_per_page=’. $number_of_posts );
which worked quite good. Unfortunately the number of post views is about a factor of five lower than the slim stat counts and most importantly some posts are higher ranked, although they were not so frequently visited.
So to put it in a nutshell I am searching for an easy way to get the top five posts of my blog sorted with respect to slim stat’s number of visits. Has anyone done that before and can give me a hint?
Thank you so much in advance!
- The topic ‘[Resolved] Filter most popular posts’ is closed to new replies.