Post Views Counter

Description

Post Views Counter allows you to display how many times a post, page or custom post type had been viewed with this simple, fast and easy to use plugin.

For more information, check out plugin page at dFactory or plugin support forum.

Features include:

  • Option to select post types for which post views will be counted and displayed.
  • 4 methods of collecting post views data: PHP, Javascript, Fast AJAX and REST API for greater flexibility
  • GDPR compatibility with Cookie Notice plugin
  • Possibility to manually set views count for each post
  • Dashboard post views stats widget
  • Capability to query posts according to its views count
  • Custom REST API endpoints
  • Option to set counts interval
  • Excluding counts from visitors: bots, logged in users, selected user roles
  • Excluding users by IPs
  • Restricting display by user roles
  • Restricting post views editing to admins
  • One-click data import from WP-PostViews
  • Sortable admin column
  • Post views display position, automatic or manual via shortcode
  • Multisite compatibile
  • W3 Cache/WP SuperCache compatible
  • Optional object cache support
  • WPML and Polylang compatible
  • .pot file for translations included

Get involved

Feel free to contribute to the source code on the dFactory GitHub Repository.

Screenshots

  • screenshot-1.png
  • screenshot-2.png

Installation

  1. Install Post Views Counter either via the WordPress.org plugin directory, or by uploading the files to your server
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to the Post Views Counter settings and set your options.

FAQ

No questions yet.

Installation Instructions
  1. Install Post Views Counter either via the WordPress.org plugin directory, or by uploading the files to your server
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to the Post Views Counter settings and set your options.

Reviews

Good, but not great.

Post views counter is a plugin I’ve used across a variety of websites I’ve been a part of, and I like the simple way it shows you the month’s information and view count. That said, it had some issues and/or omissions that would make it great.

– The reset time on the view count seems to be set to GMT or close to it, as the end of the month has the graph disappearing around 8pm my time (Eastern, NY time). It should be set to change over at server time – not GMT-ish no matter what.
– There’s no way to view past months’ data once the month has passed, which also means there’s no way to view a graph that shows progression from day one of the plugin to now – or even by year (even though you can keep individual view counts).

So easy!!!

It is very flexible in placement and ability to count and do not count certain IP address. Excellent!

Un plugin sympa et simple

Un plugin de comptage vraiment sympa et qui fonctionne très bien.
Il y a beaucoup de réglages, comme la possibilité de laisser ou non les visiteurs voir les compteurs ou pas, les compteurs sont présents dans la liste des articles avec possibilités de tri, un widget sur le tableau de bord etc…

Merci pour ce plugin gratuit de plus.

Many Thanks.

Read all 88 reviews

Contributors & Developers

“Post Views Counter” is open source software. The following people have contributed to this plugin.

Contributors

“Post Views Counter” has been translated into 4 locales. Thank you to the translators for their contributions.

Translate “Post Views Counter” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.2.13

  • New: Experimental Fast AJAX counter method (10+ times faster)

1.2.12

  • New: GDPR compatibility with Cookie Notice plugin

1.2.11

  • Tweak: Additional IP expiration checks added as an option

1.2.10

  • New: Additional transient based IP expiration checks
  • Tweak: Chart.js script update to 2.7.1

1.2.9

  • Fix: WooCommerce products list table broken

1.2.8

  • New: Multisite compatibility
  • Fix: Undefined index post_views_column on post_views_counter/includes/settings.php
  • Tweak: Improved user IP handling

1.2.7

  • Fix: Chart data not updating for object cached installs due to missing expire parameter
  • Fix: Bug preventing hiding the counter based on user role.
  • Fix: Undefined notice in the admin dashboard request

1.2.6

  • Fix: Hardcoded post_views database table prefix

1.2.5

  • New: REST API counter mode
  • New: Adjust dashboard chart colors to admin color scheme
  • Tweak: Dashboard chart query optimization
  • Tweak: post_views database table optimization
  • Tweak: Added plugin documentation link

1.2.4

  • New: Advanced crawler detection
  • Tweak: Chart.js script update to 2.4.0

1.2.3

  • New: IP wildcard support
  • Tweak: Delete post_views database table on deactivation

1.2.2

  • Fix: Notice undefined variable: post_ids, thanks to zytzagoo
  • Tweak: Switched translation files storage, from local to WP repository

1.2.1

  • New: Option to display post views on select page types
  • Tweak: Dashboard widget query optimization

1.2.0

  • New: Dashboard post views stats widget
  • Fix: A couple of typos in method names

1.1.4

  • Fix: Dashicons link broken.
  • Tweak: Confirmed WordPress 4.4 compatibility

1.1.3

  • Fix: Duplicated views count in custom post types
  • Fix: Exclude visitors checkboxes not working

1.1.2

  • Fix: Most viewed posts widget broken

1.1.1

  • Tweak: Enable edit views on new post.
  • Tweak: Extend WP_Query post data with post_views

1.1.0

  • New: Quick post views edit
  • New: Bulk post views edit
  • Tweak: Admin UI improvements

1.0.12

1.0.11

1.0.10

  • New: Option to limit post views editing to admins only

1.0.9

1.0.8

1.0.7

1.0.6

1.0.5

  • Tweak: Added number_format_i18n for displayed views count
  • Tweak: Additional action hook for developers

1.0.4

  • Fix: Possible issue with remove_post_views_count function

1.0.3

  • New: Russian translation, thanks to moonkir
  • Fix: Remove [post-views] shortcode from post excerpts if excerpt is empty

1.0.2

  • Fix: Pluggable functions initialized too lately

1.0.0

Initial release