Support » Plugin: WordPress Popular Posts » popular posts for content published today

  • Resolved kautsarjuhari


    Is there a way to display a Popular post for content that published at a certain time period only?

    ex: the most popular for a post that published from the last 1 week.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Héctor Cabrera


    Hi @kautsarjuhari,

    Well yes, it’s possible:

    • If you’re using the widget, go to Appearance > Widgets > WordPress Popular Posts, tick the “Display only posts published within the selected Time Range” checkbox under Time Range, and click on Save to apply changes.
    • If you’re using either the [wpp] shortcode or the wpp_get_mostpopular() template tag, use the freshness parameter to limit results to posts published within the selected time range. For example:

      [wpp range="last7days" freshness=1]

      (For more details, check Settings > WordPress Popular Posts > Parameters.)

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