This is the lastest version of wordpress page read counter.
WordPress Page Read Counter 2.0
What’s News?
- 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)
A new version released. Please click here.
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.
USING PLUGIN
We have 3 different fuction on 2.0 version. One of theme is sayfa_sayac()
Using sayfa_sayac() function
We use sayfa_sayac()
function in our template files like this:
[php]‘, ”,’ | ‘, ”, ”) ; ?>[/php]
I explain the function like this for you can understand well.
[php][/php]
$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 more
tag for continue reading like me. So we must no count reading for before more
tag. If visitor continue reading and visit post page , we can count reading. Before more
tag, we can make here 0 so it’s not count anything. After more
tag (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.$metinden_sonra
; Reverse $metinden_once
$hepsinden_sonra
; Reverse $hepsinden_once
ToplamdaEnCokOkunanlar()
, list mostly readings on total counter.
Example Code;
[php]‘, ‘
‘, ‘
‘); ?>[/php]
and explaining like sayfa_sayac()
,
[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.
Example Code;
[php]‘, ‘
‘, ‘
‘); ?>[/php]
and explaining like sayfa_sayac()
,
[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
NOTE
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.