This is just a quick fix for the Official WordPress StatCounter Plugin since it doesn’t have an option to make it invisible. Might require a bit of PHP knowledge but shouldn’t be too difficult.
First off, I highly recommended Notepad++ for editing any kind of HTML/PHP/etc file. As the name implies, it’s an extended version of Windows Notepad. It’s easier for line counting.
I’m also assuming you already have the plugin installed so I’ll get right to it.
- Navigate to:
http://your-website-here.com/wp-admin/plugin-editor.php
and click on “Official StatCounter Plugin” file. - You can either copy and paste the entire code from the box into your favorite editor, or try and scroll to the bottom where it says:
var sc_project=<?php echo $sc_project;
- Right under that insert the following code:
var sc_invisible=1;