Support » Plugin: WP-PostViews » Display most viewed posts in some period of time

  • Resolved victoo79


    It would be cool if we had an option in widget to choose period of time, for example show most viewed posts posts in last year.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello, I completely agree ! It seems to me that this option was possible before, no?

    Have a great day 🙂 !

    Plugin Author Lester Chan


    This option was never possible because the plugin only stored accumulated post views.

    Oops ! Sorry ahah

    My story quickly summarized: I made an update on a site of a friend (that I did not realize) it had a very old version of your plugin, and it seems that after my update the widget post summers by popularity but since always, before it had the most popular of the last X days.

    Is there a function to filter the display of posts only from the last X days?

    Thank you very much for your great plugin and support! 🙂

    Ok problem solved using ‘date_query’ => array on function get_most_viewed ! 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.