Wordpress plugin to create a hit counter (with text)?

0

How can I put a hit counter on my site Wordpress so that with every access I get +1 ?

  

I tried to search for plugins, but I did not find any that only showed the number of accesses in text form, which I found was only what counts the statistics, like IP, browser, etc ...

    
asked by anonymous 01.07.2014 / 00:48

1 answer

1

I found a script PHP + TXT so there is no need for a database.

  

Link: link

I downloaded the script and sent it to the theme directory, and gave permissão 777 to the file contador.txt , in order to write the data to the file .txt .

Then I went to my theme directory and edited the file header.php and put it:

<?php include("contador/contador.php"); ?>

In the place I wanted it to appear.

With this script you can:

  • Show Today visits
  • Show yesterday's visits
  • Show total visits
  • Show the record and date of visits
  

Problem solved!

    
01.07.2014 / 02:30