Forums

[resolved] Cannot locate the theme file to make a change (5 posts)

  1. chatzopoulo
    Member
    Posted 2 years ago #

    I installed the WordPress.com Stats plug-in but it is not giving back any results. I guess the problem is that:

    "your theme must have a call to <?php wp_footer(); ?> at the very bottom right before the </body> tag"

    I searched for the theme file but I found several php files: comments-popup.php, comments.php, footer.php, function.php, header.php, index.php, sidebar.php.

    Does anyone know which one of these files is the theme, so I can add the call?

    Thannk you very much!

  2. Samuel B
    moderator
    Posted 2 years ago #

    your theme's footer.php should have the </body> tag

  3. chatzopoulo
    Member
    Posted 2 years ago #

    Thanx a lot.

    Actually it does! But also the comments-popup.php has the same tag at the very end.

    Should I make the addition to the footer.php file?

  4. Samuel B
    moderator
    Posted 2 years ago #

    Should I make the addition to the footer.php file?

    yes if you want it to be on every page

  5. chatzopoulo
    Member
    Posted 2 years ago #

    Thank you very much Samboll. I appreciate it. I'll do that.

Topic Closed

This topic has been closed to new replies.

About this Topic