WordPress Stats (4 posts)

  1. SniperClops
    Posted 8 years ago #

    Is there a piece of code or something I should have in my site for the webstats to work? I know for a fact people have been to my site but when I use the Dashboard->Blog Stats and login to wordpress there is nothing showing?

  2. ayushd
    Posted 8 years ago #

    I have been using the services of GoStats.com , it is working fine for me. It is as simple as copy and paste of code.

  3. sophiavancouver
    Posted 8 years ago #

    I have the same problem and I think I have one piece of the puzzle. I see a reference to this in the FAQ for the WordPress stats plugin but I'm not quite sure how to implement it:

    [QUOTE] What if the stats don't start showing up? Do I need anything special in my theme?
    Yes, your theme must have a call to <?php wp_footer(); ?> at the very bottom right before the </body> tag.[END OF QUOTE]

    I edited the footer of my theme (where the </body>
    tag is and pasted <?php wp_footer(); ?> in right in front of the body tag. Not sure if that counts as a 'call' or do I have to add something else?

  4. Trent Adams
    Posted 8 years ago #

    Example of a footer.php in your theme folder:

    <div id="footer">
    <a href="<?php bloginfo('siteurl'); ?>/wp-admin/" title="Login">Powered</a> by <a href="http://wordpress.org" title="WordPress" target="_blank">WordPress</a>
    <?php wp_footer(); ?>

    Just has to be in there for the wp.com stats plugin to work.


Topic Closed

This topic has been closed to new replies.

About this Topic