=== Kento Post View Counter ===
Contributors: hasanrang05
Donate link:
Tags: Kento Post View Counter, post view by city, post view by country, page view counter, view counter, Post View Counter
Requires at least: 3.7
Tested up to: 3.8.1
Stable tag: 1.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Post View Counter by City or Country or by Date
== Description ==
Real post view counter for wordpress post, page or custome post type
Live Preview: http://kentothemes.com/demo/kento-pvc/hello-world/
Plugin Features
* Top 10 refere site list.
* Display via shortcodes only today's coount or total count or both(New)
* Add refer site where visitors come from(new).
* Filter post type to trace count(new).
* hide stats on content but still can trace view count(new).
* Total Post View Count.
* Total Post View Count Daily.
* Top Viewed Post List on Admin.
* Top Viewed By Date on Admin.
* Recent Viewed by City on Admin.
* Recent Viewed Post by City with real time and date.
== Installation ==
1. Install as regular WordPress plugin.
2. Go your Pluings setting via WordPress Dashboard and activate it.
3. After Activate Visit your Single Post.
4. and after activate you will see menu on dashboard "Kento PVC" will get stats.
How to use shortcodes ?
To display views count manually via shortcodes you can display only today's view count or total view count on single post.
Before use shotcodes you need to "Hide Count on Post" checked and "Trace These Post Type Only" checked for custom post type
And use these shortcode as your need
Display whitout customize
[kpvc_single]
<?php echo do_shortcode("[kpvc_single]"); ?> Anywhere on single.php or custom post type single.php
Also same way you can php code for bellow shortcodes
Display only today views count or hide total views count.
[kpvc_single total="no"]
Display only total views count or hide today views count.
[kpvc_single today="no"]
Display Custom text for today or total views count
[kpvc_single today_text="hello today" total_text="hello total"]
How to use shortcodes in loop or excerpt ?
To display views count manually via shortcodes in loop or excerpt mode you can use shortcode bellow
Display whitout customize
<?php do_shortcode('[kpvc_loop post_id='.get_the_ID().']'); ?>
Display only total views count or hide today views count.
<?php do_shortcode('[kpvc_loop post_id='.get_the_ID().' today="no" ] '); ?>
same way you can hide total count by adding today="no"
Display Custom text for today or total views count
<?php do_shortcode('[kpvc_loop post_id='.get_the_ID().' today_text="hello today" total_text="hello total" ] '); ?>
== Screenshots ==
1. View Counter on post.
2. Admin - Top viewed post and Top Viewed By Date.
3. Admin - Recent Viewed by City and Recent Viewed Post by City with time.
4. Settings page.
== Changelog ==
= 1.7 =
* Display Post view Counter on loop or excerpt mode.
= 1.6 =
* Add Top 10 refer site list.
= 1.5 =
* Add Shortcode support to display single post.
= 1.4 =
* Added refer site to details report.
* Added send us feedback link.
= 1.3 =
* Added icon for total and daily counter.
* Added New Page for setting.
* Filter post type.
* Simply hid on post stats but still can trcae.
* Added different stats page on admin.
= 1.2 =
* Fixing problem with Pagination
= 1.1 =
* Added Paginate "Recent Viewed By City & Country
= 1.0 =
* Initial release