WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] How to only show posts that are X number of days old in the widget Top Posts? (3 posts)

  1. gixty7
    Member
    Posted 11 months ago #

    Hello,

    Can somebody provide a quickfix that restricts the displaying of posts to only those that are X number of posts? So I can display the top posts for the last 7 days that are exactly 7 days old.

    Thanks in advance

    http://wordpress.org/plugins/jetpack/

  2. chickster25
    Member
    Posted 11 months ago #

    I would 2nd this request as this feature would be really useful as sometimes you dont want really old posts to get picked up.

  3. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 11 months ago #

    I'm afraid you'll have to edit the widget code to add such information, or build your own widget while still using the Jetpack Stats to gather information about each post.

    You can look at other Jetpack add-ons proposing customized Top Post widgets, like these ones: they're good examples of how to use the WordPress.com Stats API to your advantage:
    http://wordpress.org/plugins/jetpack-post-views/
    http://wordpress.org/plugins/popular-posts-tab-widget-for-jetpack/
    http://wordpress.org/plugins/be-stats/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.