• Boz2006

    (@boz2006)


    In the Readme for this plugin the author states for it to function:

    ‘…theme must have a call to <?php wp_footer(); ?> at the very bottom right before the </body> tag’.

    Would that be in the footer.php file?

    Thanks.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter Boz2006

    (@boz2006)

    The answer is Yes.

    Does everyone just know that?

    Why can’t it be in the operating instructions rather than in the FAQ from someone like me who can’t get it to work either?

    Kafkaesqui

    (@kafkaesqui)

    The answer is Yes.

    Actually, the answer is “it depends on the theme.”

    In most cases a theme will sport a footer.php which will in turn provide the closing </body> tag. But not all themes fit this description.

    And keep in mind the WordPress “operating instructions” are written by other users just like you.

    Thread Starter Boz2006

    (@boz2006)

    OK, thanks, Kafkaesqui, that makes sense.

    microphobik

    (@microphobik)

    I am using the Mandigo-14 theme and tehre is nothing in the footer file. where do i put it? I’m hoping this is what the problem is. i have reinstalled the plug in a number of times, tried it on multiple blogs, and multiple worpress accounts but nothing works. it says the stats are working but they all say zero and i get a ton of traffic. If anyone can help I will greatly appreciate it

    Thread Starter Boz2006

    (@boz2006)

    microphobik, hi
    I’m not really the guy to ask, but when you say there is nothing in the footer file, what do you mean?

    Do you have a footer file?
    Do you have a closing </body> tag?

    microphobik

    (@microphobik)

    there is absolutely nothing in it. I have a footer file in my theme folder and when i open it to edit it, it is blank.

    Thread Starter Boz2006

    (@boz2006)

    Does your theme have any support? Author or forum perhaps?

    microphobik

    (@microphobik)

    Not that I know of but I got it sorted. I just put the code in the empty footer file and it started working. Thanks for your help and for your time.

    The plugin hook just references the footer file and adding code to it. If the theme doesn’t reference that call, it just can’t add the plugin code. A little strange, but logical in many ways ??

    Trent

    perfect! Thanks for the simple yet important call function. It works for me now ??

    Thanks Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘WP Stats plugin not working’ is closed to new replies.