How to Fix WordPress.com Blog Stats Plug-In Problem

by Eric Pena on June 18, 2008

One of the most useful features of WordPress.com is the Blog Stats. Although, there are similar plug-ins one can use for the self-hosted WordPress blog, I still prefer the simple and less overwhelming stats from WordPress.com. So I was happy to know that there exists a plug-in exactly like that for my self-hosted blog.

Like most WordPress plug-ins, the installation was simple enough — 1) Download file; 2) upload to /wp-content/plugins directory; 3) activate; 4) enter WordPress.com API key (I used my blacksocks.wordpress.com API); 5) voila! But I had a problem. It wasn’t tracking visits to my site. For several days, it shows a flat line on the zero vertical axis. I initially thought that all visits to my WordPress.com blog that are being automatically re-directed to menoob.com are not being counted. But Google Analytics, FeedBurner, MyBlogLog and BlogCatalog says otherwise. So upon investigation, I found out that the theme I’m using in WordPress version 2.5.1 requires an additional code.

<?php wp_footer(); ?> must be added right before the </body> tag. I had mine in the footer.php template.

After adding the code, sit back and wait for a while and you should see the graph rise back again.

Related Posts with Thumbnails

Leave a Comment

Previous post:

Next post: