The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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
    Posted 3 years ago #


    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


  2. chickster25
    Posted 3 years 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
    Jetpack Mechanic
    Plugin Author

    Posted 3 years 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:

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Jetpack by WordPress.com
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.