Display Total Hits on Your Site using Smartcounter » Help

Step 1

Go to admin => Settings => Smartcounter


Step 2

Add a New entry and Update Options


Step 3

Note The Unique ID (Unique ID = 2 in this example)


Step 4

Edit your sidebar.php file using a text editor. This file is located in your theme directory
. Add the following PHP code to the sidebar.php anywhere that you want to display the counter.

<?php echo smartcounter_tag(Unique ID); ?>