WordPress.org

Ready to get started?Download WordPress

Forums

WordPress.com Stats Plugin Widget Display, View Count Wrong? (2 posts)

  1. aparentdesign
    Member
    Posted 3 years ago #

    Hi there, I'm using this variation on the WordPress Stats Widget script, in a tabbed widget using shortcodes:

    http://wordpress.org/support/topic/stats-plugin-excluding-homepage-from-stats_get_csv-results?replies=9

    [php]
    if ( function_exists('get_stats_exclude_home') && $top_posts = get_stats_exclude_home(7,5) ) : ?>

    <?php endif
    [/php]

    It works great at filtering out the home page, but my users have noted that the stats it displays don't match what shows on the dashboard. Article A will show 800 views in the dashboard, but only 780 in the widget, etc.

    This may not be a problem with the script, but a cache issue, but why would the dashboard be up to date and the csv not be?

    Any idea why?

  2. aparentdesign
    Member
    Posted 3 years ago #

    My client decided to just take out the numbers and list all history. However, now that doesn't line up. The stats admin area lists the top 5 articles of all time but the widget does not pull in the same list.

    Why does the data not match up? I'm using -1 in the time parameter to bring in all time data.

Topic Closed

This topic has been closed to new replies.

About this Topic