This is the lastest version of wordpress page read counter.
WordPress Page Read Counter 2.0
- If you want, admin readings not count
- If you want, you can stop counting and only show count number
- 2 different statistic shown. These are; Total counter and Daily Counter for every post or page.
- You can add your codes in counter functions
- You can list most reading pages on total counter
- You can list most reading pages on daily counter
- Automatic database installation
- Automatic database upgrading for 1.0 – 1.1 to 2.0 (first older data export new table and than old counter table deleted)
INSTALLATION AND UPGRADE
Clich here and download wordpress page read counter 2.0. If you are using page read counter 1.0 (1.1) already, please go plugin management page and deactive it. After, you upload
sayfa_sayac.php on the plugin directory and overwrite old version.
We have 3 different fuction on 2.0 version. One of theme is
Using sayfa_sayac() function
sayfa_sayac() function in our template files like this:
[php]‘, ”,’ | ‘, ”, ”) ; ?>[/php]
I explain the function like this for you can understand well.
- ‘, ‘
$sayac_arttir; Count or not count function. If you want to count the reading, change here 1, else if you don’t want to count reading, make here 0. What’s the different? Maybe you are writing your post only some sentences and use
moretag for continue reading like me. So we must no count reading for before
moretag. If visitor continue reading and visit post page , we can count reading. Before
moretag, we can make here 0 so it’s not count anything. After
moretag (so this is post page) we use this function with 1.
$yonetici_okuma_say; If you use 1, readings not count on admin session. Else if use 0, readings will count every time.
$toplam_okunma; If you show total reading number, you must use 1. If using 0, total readings won’t shown
$bugun_okunma; If you show daily reading number, you must use 1. If using 0, daily readings won’t shown
$bironceki_tarih; If you show last reading date, you must use 1. If using 0, last reading date won’t shown. exp: Last reading on: 05.11.2005 – 18:56
$tarih_format; This is the date format for upper feature . You can look php date() function for this.
$hepsinden_once; This add before all reading information row.
$metinden_once; Example, this code add before ‘Today’s Reading’. Likewase, add before ‘Last Reading On’ and ‘Total Read’ sentences
$arada; Add between every statistic.
ToplamdaEnCokOkunanlar(), list mostly readings on total counter.
and explaining like
[php]ToplamdaEnCokOkunanlar($liste_uzunluk, $sayidan_once, $sayidan_sonra, $hepsinden_once, $basliktan_once, $basliktan_sonra, $hepsinden_sonra) [/php]
Here, I don’t make explaining. Because it’s so basic for you 🙄
BugunEnCokOkunanlar() , list todays readings on daily counter.
and explaining like
[php]BugunEnCokOkunanlar($liste_uzunluk, $sayidan_once, $sayidan_sonra, $hepsinden_once, $basliktan_once, $basliktan_sonra, $hepsinden_sonra)[/php]
I hope, I can explain these plugin and you can understand
I can’t upgrade plugin for no time. But Frank, first he translate plugin in german and than add statistic function for dashbord And it’s so great 😉 You can download plugin which upgrade on version 2.2 de by Frank, on here.