Forums

I've installed a hit counter plug-in but it isn't showing (6 posts)

  1. Nick Forest
    Member
    Posted 3 years ago #

    I've just installed the simple hit counter, the one which comes out top of the list when you search WordPress plug-ins for hit counter.

    It seems to be installed and activated and the author says I should put code like this somewhere on my page to make the hit counter display.

    <?= simplehitcounter_hit(); ?>

    The trouble is, where should I put it? I'm using a static page as my home page and would like it to appear there. I've pasted this code into the HTML of the home page but that doesn't work, presumably because it's php code. I've also tried pasting it into the index.php but still nothing.

    As you can tell, I'm not very good at this so any help would be much appreciated.

  2. Nick Forest
    Member
    Posted 3 years ago #

    I really would appreciate some help on this one if anyone has any ideas?

  3. Nick Forest
    Member
    Posted 3 years ago #

    I didn't get any replies on this but I have since worked it out.

    In case anyone else is having a similar problem, the answer was that I was uploading the plug-in as a nested file, ie it was a folder within a folder of the same name and so WordPress couln't find it.

    For a proper demonstration try this tutorial which explains all>
    http://www.village-idiot.org/archives/2008/06/19/how-to-upload-a-wordpress-plugin/

    This stuff may be simple to experienced WordPress users but it's very frustrating when you're just getting started.

  4. earthtodavid
    Member
    Posted 3 years ago #

    Don't you hate when you ask for help and no one bothers to lend a hand :(

  5. earthtodavid
    Member
    Posted 3 years ago #

    Just wanted to come back and mention a cool stats plugin called firestats... you can get it at firestats.cc or google it. It has a nifty widget to show visit counts and can even be set to not show your own personal visits so you get a better idea of how many people are actually visiting your blog.

  6. Nick Forest
    Member
    Posted 2 years ago #

    Thanks for that. I'll take a look.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.