WordPress.org

Ready to get started?Download WordPress

Forums

Installing Sitemeter Code Into WordPress (16 posts)

  1. lisar915
    Member
    Posted 9 years ago #

    Hey everyone,

    I'm a complete newbie to WordPress and I'm trying to find out how to install the code for Sitemeter. I'm using the code they recommend for PHP/Nuke sites. Is that the correct one to use? A fellow blogger said to copy and paste it into the page template, but nothing happens when I do that. Any suggestions you call can give me will be greatly appreciated.

    Thank you very much.
    Lisa

  2. James
    Happiness Engineer
    Posted 9 years ago #

    Copy and paste it into the footer template (usually footer.php).

  3. lisar915
    Member
    Posted 9 years ago #

    Thanks for your quick reply. I've tried doing that but nothing happens, and the code just dissapears from the page.

  4. James
    Happiness Engineer
    Posted 9 years ago #

    If you have some words in the footer wrapped by a <p> tag, put it before the </p> tag closes. If not, put the code before the </body> tag.

  5. lisar915
    Member
    Posted 9 years ago #

    Thanks for the quick reply. However, when I go to my wp-admin menu, and go to "edit themes" and then go to "Footer Template" it simply does not allow me to add any code. And I've tried adding the code to the Page Template and to the Post Template. It just doesn't let me add the code anywhere whatsoever.

    Sorry to be such a klutz and thank again for all your help.

  6. lisar915
    Member
    Posted 9 years ago #

    One more thing I should add. When I'm in the theme editor in my wp-admin menu, and when I click on "Footer Template" it says on the bottom of the page, "if this file was writable, you could edit it." That message is also located on the "Page Template" and the "Post Template." So do you know if there's any way to set it up so that a person *can* edit those template pages?

    Thanks again.

  7. moshu
    Member
    Posted 9 years ago #

    Yes, there is. With your FTP client you can change the CHMOD of those files to make them "writable', e.g. 666.

  8. lisar915
    Member
    Posted 9 years ago #

    Thanks. What exactly is the CHMOD? And in what folder is it located in my WordPress files? Sorry I'm so low tech.

  9. Mark (podz)
    Support Maven
    Posted 9 years ago #

  10. lisar915
    Member
    Posted 9 years ago #

    Podz,

    I'm sorry to be such a pain, but here's what I did, using Cute FTP home edition. I went to the Tamba web site, changed the CHMOD settings to 766 by checking read, write execute under "owner."

    Then in the next step of the tutorial, there was something about "Hidden Files" which I don't understand. When I clicked Edit from the top left tool bar there was no option Hidden Files for "Filter." But there was an option under "View" so I clicked on that. I got the following screen:

    Filter Properties
    Enable Filtering was checked.

    Then, under "Server Side Filtering, I check off the box for "Enable Server Side Filtering." And in the box next to "Remote Filter" I typed in -a.

    But it's still not letting me copy and paste the Sitemeter code into the footer php screen in my Themes section under wp-admin.

    Any suggestions you have will be greatly appreciated.

  11. Mark (podz)
    Support Maven
    Posted 9 years ago #

    You do not need to view hidden files.

    All you need to do is put the code into footer.php, or at the bottom of sidebar.php, just above </div>

  12. Mark (podz)
    Support Maven
    Posted 9 years ago #

    For your chmod, you are going to
    wp-content/themes/name-of-theme/footer.php ?

  13. lisar915
    Member
    Posted 9 years ago #

    Podz,

    I'm attempting to manually cut and paste the code into the following place:

    http://www.theurbangrindblog.com/wp-admin/theme-editor.php.....etc., as I thought that was where it shoud go.

    So are you telling me I need to copy and past the code into my Cute FTP server under wp-content/themes/name-of-theme/footer.php?

    Thanks again.

  14. lisar915
    Member
    Posted 9 years ago #

    Better yet, Podz, if I PayPal you some money, and give you my site info, would this be something you could do on your end? If so, just let me know how much money to send you, and I'll do so. I feel like a big idiot.

  15. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Email me some info and the code and I'll drop it into your files and also sort the chmod issue.

    It'll cost you a large diet coke if we ever meet :)

    tamba2 at gmail dot com

  16. lisar915
    Member
    Posted 9 years ago #

    Great, thank you! But when you're done, would you be able to let me know what I was doing wrong exactly?

    Lisa

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.