WordPress.com Stats Plugin Widget Display, View Count Wrong?
Hi there, I’m using this variation on the WordPress Stats Widget script, in a tabbed widget using shortcodes:
if ( function_exists(‘get_stats_exclude_home’) && $top_posts = get_stats_exclude_home(7,5) ) : ?>
<?php foreach ( $top_posts as $p ) : ?>
- “><?php echo get_the_title($p[‘post_id’]) ?> (<?php echo $p[‘views’]; ?> views)
<?php endforeach; ?>
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?
- The topic ‘WordPress.com Stats Plugin Widget Display, View Count Wrong?’ is closed to new replies.