WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Counterize

Counter and statistics plugin for WordPress.

I know that I have incoming traffic but Counterize keeps telling me that no data has been recorded yet. Why?

There is probably a problem somewhere, so I will need you to do the following:

  • Open your wp-config.php file
  • Ensure that WP_DEBUG is set to true. The line should be define( 'WP_DEBUG', false );
  • Add the following lines just after:
error_reporting( E_ALL | E_STRICT );
ini_set('display_errors', 1);
  • Reload your website in your browser
  • Then tell me about any errors, warnings and notices you may see, if any

If no errors are shown, then you probably do not have incoming traffic... Is Counterize correctly activated?

How to add a counter for the current post/page in my sidebar?

You can edit your theme sidebar, or use a PHP code widget (recommended), and use the following code:

<?php if( is_single() || is_page() ): ?>
<p>This page has been viewed <?php echo counterize_current_post_hits(); ?> times.</p>
<?php endif; ?>

How to make my PHP widget appear only for posts and pages?

If you use a PHP widget and want the widget to appear only for posts and pages, install the "Widget Logic" plugin and use is_single() || is_page() as condition.

How to add a counter in the footer of my blog?

Try adding the following line somewhere in your footer.php:

<span class="counter"><?php echo counterize_getuniqueamount( 0, 3600 ); ?> visitors</span>

the 0 parameter stands for "since forever" and 3600 stands for "count only one visit if the same visitor visit the website less than 3600 seconds after the initial visit". Both values are optional.

Why aren't the IP of my visitors logged?

You need to enable the option in the Counterize settings. It is disabled by default.

How to translate Counterize in my language?

Please follow these instructions

Can I extend Counterize?

Yes. Counterize is now modularizable and you can add your own Counterize plugin. Counterize also provides several action and filter hooks.

Can Counterize replace Google Analytics?

Not yet. But it's a good addition/alternative.

What are the minimum requirements to run Counterize?

The same as the current stable version of WordPress, but as with each supplementary plugin, it will use more RAM, so take this into account. Counterize is also known to take a lot of database space in its current version, especially if your website is very visited.

I see an error message like "`The script whose uid is 12345 is not allowed to access /var/tmp/" or "Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent`", HELP!

Try adding the following 3 lines just after the PHP start tag of your wp-config.php:

if( ! isset( $_SESSION ) )
{
    session_start();
}

Also, make sure the session.save_path in you php.ini is set and point to a valid path

Do you provide support for Counterize?

Sometimes, I can provide BASIC support for free. It mostly depends on my free time, because Counterize is developped on my free time too. Nobody likes to work for peanuts, so do not expect professional level support for free. If you need a better support or something is urgent, please contact me to discuss of a price.

Requires: 3.3.0 or higher
Compatible up to: 3.5.0
Last Updated: 2013-1-16
Downloads: 170,797

Ratings

4 stars
4.4 out of 5 stars

Support

0 of 2 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
2 people say it's broken.

100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1
100,1,1 50,2,1 100,1,1 100,1,1
100,7,7
100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,6,6
50,2,1
100,1,1
67,3,2
67,3,2
0,3,0 100,2,2 100,3,3
100,4,4
67,3,2
0,1,0
33,3,1