WordPress.org

Support

Support » Plugins and Hacks » The post from months ago I also appear as the most watched in 24 h

The post from months ago I also appear as the most watched in 24 h

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Hector Cabrera

    @hcabrera

    Hi Mike,

    That’s not how it works: when setting a Time Range, it refers to the posts viewed in the past X hours / days / Month no matter when these posts where published.

    How can I make it to not display posts older than X number of days?

    Plugin Author Hector Cabrera

    @hcabrera

    The short answer: you can’t.

    The long answer: the plugin doesn’t filter out posts by publish date yet, so it’s not possible to do that at the moment. You could try and hack the plugin’s code to filter out posts older than the selected Time Range (I think I remember someone posting a sample code to achieve this somewhere in this forum but I can’t seem to find it). I have planned to include this feature on a future release, no ETA though.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘The post from months ago I also appear as the most watched in 24 h’ is closed to new replies.