0
votes
0answers
60 views

Multiple columns + Infinite Scroll?

I am trying to create a mashable like homepage so I want to loop posts by post views using WP-PostViews plugin, and make it compatible with infinite scroll. This is the loop code I am using, taken ...
0
votes
1answer
143 views

Count post views in loop

I'm trying to show the post views for every post on a blog page (so in a loop). I tried it with the following code in the functions.php: // function to count views. function ...
1
vote
1answer
65 views

How to add “time” data this?

I am using this simple snippets to get post view count for a long time I was wondering if we can add a "time" data ? Because I would like to show the view of yesterday/ 2 days ago / 2 days ago etc... ...
0
votes
1answer
530 views

How to sort a loop after most viewed

I have a site and i'm almost done with it. It have teached me a lot about wordpress, although i'm still a noob who doesn't know anything about php or programming (besides html). I have managed to ...
2
votes
3answers
7k views

How to Change Loop to Order Posts by Views (using wp-postviews plugin)

I hope somebody would be kind enough to help. I currently have a page that orders all of the posts by comment count, but I want to change the loop to order the posts by view count. I have installed ...