StatCounter invisible counter code to the footer of each page of your WP site. Configure it from the Options page. Version: 1.01 Author: Serge K. Keller Author URI: -------------------------------------------------- StatCounter for WordPress Copyright (C) 2005 Serge K. Keller This is FREE software and... "...if it destroys your computer, rapes your pet, installs Win98 on your toaster and microwave, stops your pacemaker, causes sexual dysfunction, and turns your children into fucked-up trenchcoat-wearing teens carrying guns and worshipping Hitler, don't blame me because I told you it could do that and you went ahead and used it anyway." --James Turinsky ( -------------------------------------------------- This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -------------------------------------------------- Credits: Original code heavily inspired by Google Analytics (, by Matt Labrum ( -------------------------------------------------- Installation: Simply place the file in your wp-content/plugin directory, then enable it from WP's admin interface. Configure it from the options page. Shake (do not stir!) and serve while it's fresh. -------------------------------------------------- Changelog: 1.01 (26.11.2005): - Resized form better suited for smaller screen resolutions (800x600 should be OK now) - Clearer description of the plugin: it is intended for StatCounter's invisible counter, where you should put the code right before the tag; if you want to put a custom, visible counter somewhere else on the page, you're on your own! - (A bit) more detailed documentation on the new plugin web page @ - Updated URI of the plugin 1.0 (14.11.2005): - Initial public release --------------------------------------------------*/ add_action('admin_menu','statcounter_menu'); add_action('wp_footer','statcounter_addcode'); function statcounter_addcode(){ $code = get_option('statcounter_code'); if (!empty($code)) echo stripslashes($code); } function statcounter_menu(){ add_options_page('StatCounter', 'StatCounter', 9, __FILE__, 'statcounter_manage'); } function statcounter_manage(){ if (isset($_POST['statcounter_code'])){ update_option('statcounter_code', $_POST['statcounter_code']); echo '

Options saved

'; } ?>

StatCounter Options

StatCounter is a free yet reliable invisible web tracker, highly configurable hit counter and real-time detailed web stats.

Paste your StatCounter code here

Reacties op: Goede kijkcijfers voor The Ultimate Fighter op RTL7 “Only thing worse than watching a bad movie is being in one” - Elvis Presley Fri, 20 Mar 2015 13:18:08 +0000 hourly 1