• The stats always shows the same post being hit, which I know is not the case since I also use Google Analytics. When I add a new post, the post displayed in stats always moves to the one following that shown previously.

Viewing 3 replies - 1 through 3 (of 3 total)
  • This happens because you are using an old version of WordPress and the Recent Posts widget. Remove the widget or update your blogging software.

    I had the same problem. Even with the newest version of WordPress, the WordPress.com Stats plugin won’t work correctly if you use the Recent Posts widget. That’s a shame.

    Also, if you are using the K2 theme you must use Widgets instead of the Side Bar Manager that the theme comes with. Also a shame.

    But stats are working now and I suppose it’s worth the compromise.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Are you using the latest version of the wordpress.com stats plugin? That would be version 1.1.1, available here:
    https://www.ads-software.com/extend/plugins/stats/

    I see the potential issue you’re talking about, but as far as I can tell it avoids that issue because it’s using $wp_the_query, which always holds the default query. The Recent Posts widget creates a new query, not modifying the existing one. So it should work correctly with the latest WordPress and the latest stats plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Stats only show one post being hit’ is closed to new replies.