I found a script PHP + TXT
so there is no need for database.
Link: http://www.codigofonte.net/scripts/php/contador/1352_jcr-contador-v1-0
I downloaded the script and sent it to the theme directory, and gave permissão 777
in the archive contador.txt
, to save the data to the file .txt
.
Then I went to the directory of my theme and edited the file header.php
and put:
<?php include("contador/contador.php"); ?>
In the place I wanted to appear.
With this script it is possible:
- Show visits from today
- Show visits from yesterday
- Show the total of visits
- Show the record and date of visits
Problem solved!
You can mention the plugins you found?
– brasofilo
http://wordpress.org/plugins/who-hit-the-page-hit-counter/ - http://wordpress.org/plugins/free-counter/ - http://wordpress.org/plugins/counterize/ - among others...
– Alexandre Lopes