WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Popular Posts
The post from months ago I also appear as the most watched in 24 h (4 posts)

  1. mikelangel001
    Member
    Posted 1 year ago #

    Hello, I expose my problem. The threads are created months ago I appear in all tabs (last 24 hours last 7 days ...).

    This happens to me in the plugin configuration options, and of course to display in the widget also shows me the post for months like the last 24 hours.

    What could be wrong? Thank you very much.

    http://wordpress.org/extend/plugins/wordpress-popular-posts/

  2. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. gixty7
    Member
    Posted 1 year ago #

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

  4. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags