Popular posts from the last x days?
-
I am using the popular posts widget with my own override code following the instructions for the Polylang solution as suggested in the sticky post at this support forum.
But I am not having luck with solving the following issue:
I would like to display only the popular posts from the last seven days, and not all posts! (within the limit that I set).
I have tried so many things, like:
$settings = array( 'daily' => TRUE, 'daily_range' => 7, 'limit' => 10, 'strict_limit' => FALSE, );
But it doesn’t seem to work, since I still can see posts that (according to Google Analytics) haven’t had so many views as others that I’m positive that should be upper in the list…
Is there a way to display only the most popular (viewed) posts since the last seven (or other range) days?
I don’t want to display only the ones created seven days ago, but the real popular posts from the last seven days…
By the way, I only require posts.
- The topic ‘Popular posts from the last x days?’ is closed to new replies.