A simple post view counter for WordPress (demo plugin)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


=== Post View Counter ===
Contributors: hlashbrooke
Donate link: https://hugh.blog/donate
Tags: post, views, counter, analytics, stats, statistics
Requires at least: 4.7
Tested up to: 4.8.2
Stable tag: 1.0
Requires PHP: 7.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

A counter to track how many times your posts are viewed.

== Description ==

"Post View Counter" does what it says on the tin - it counts how many views your posts receive.

This is not meant as a replacement for more advanced analytics plugins - it is a counter so you can see which of your posts are more popular without diving too deeply into complicated viewing statistics.

Want to contribute? [Fork the GitHub repository](https://github.com/hlashbrooke/Post-View-Counter).

*I built this plugin to be used as a demo for teaching a plugin development workshop.*

== Installation ==

Installing "Post View Counter" can be done either by searching for "Post View Counter" via the "Plugins > Add New" screen in your WordPress dashboard, or by using the following steps:

1. Download the plugin via WordPress.org
2. Upload the ZIP file through the 'Plugins > Add New > Upload' screen in your WordPress dashboard
3. Activate the plugin through the 'Plugins' menu in WordPress

== Screenshots ==

1. Screenshot caption

== Frequently Asked Questions ==

= What is the shortcode for displaying the post hit count? =

The shortcode to display an individual post's hit count is: `[post_views]`. If you use the shortcode without any parameters then it will displaying the hit count for the current post. Alternatively you can specify which post's hit count you would like to display by using the shortcode like this: `[post_views post=123]` where `123` is the ID of the post.

== Changelog ==

= 1.0 =
* 2017-09-27
* Initial release

== Upgrade Notice ==

= 1.0 =
* Initial release