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

    (@hcabrera)

    When you use the freshness parameter, you’re asking the plugin to list the most viewed posts that were published today. Did you also activate the corresponding setting on the Stats page? (Little cog icon at the top left.)

    Thread Starter Andika

    (@rekatias)

    Yes i’m activate the corresponding setting on the Stats page.

    When you use the freshness parameter, you’re asking the plugin to list the most viewed posts that were published today

    Yes i want to list most viewed post that were published today, but as you can see in my screenshot or in my website list, it’s not updated, the list of pupular post there was posted 2 days ago

    • This reply was modified 6 years, 2 months ago by Andika.
    Plugin Author Hector Cabrera

    (@hcabrera)

    Alright, in that case please go to Settings > WordPress Popular Posts > Debug and share a screenshot of the information displayed there.

    Thread Starter Andika

    (@rekatias)

    here a screenshot of debug https://imgur.com/a/jMQkEGY.

    Plugin Author Hector Cabrera

    (@hcabrera)

    Thanks for the screenshot.

    This is what’s causing the problem:

    WPP Debug Screen - Data Caching enabled

    You enabled the Data Caching feature and set the data cache to expire after one week.

    From the documentation:

    Are there any disadvantages to having this option enabled?

    Just one: when someone checks any of your posts and pages, your popular posts list won’t be updated right away.

    The plugin will use the cached data to build the popular posts list. Once the cached data expires, WPP will query the database again to retrieve the updated popular posts data, refresh the data cache and build the new popular posts list.

    It’s a trade-off: the plugin will use less resources at the expense of not display a live popular posts list.

    Does this affect the Stats dashboard?

    No. The Stats dashboard will always show live statistics. The caching feature only affects every instance of WPP on the public side of your website (the WPP widget, the wpp_get_mostpopular() template tag, and/or the [wpp] shortcode).

    Since you set the plugin to cache the data for one week, your popular posts list won’t be updated for an entire week.

    Solutions:

    • Set your data cache to expire much sooner – like every hour for example, or
    • Disable the Data Caching feature.
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Today popular post not update’ is closed to new replies.