post-views-counter
Last commit date
css
7 years ago
images
7 years ago
includes
7 years ago
js
7 years ago
languages
7 years ago
index.php
7 years ago
post-views-counter.php
7 years ago
readme.txt
7 years ago
readme.txt
187 lines
| 1 | === Post Views Counter === |
| 2 | Contributors: dfactory |
| 3 | Donate link: http://www.dfactory.eu/ |
| 4 | Tags: counter, hits, posts, postviews, post views, views, count, statistics, stats, analytics, pageviews, tracking |
| 5 | Requires at least: 4.0 |
| 6 | Requires PHP: 5.2.4 |
| 7 | Tested up to: 4.9.8 |
| 8 | Stable tag: 1.2.14 |
| 9 | License: MIT License |
| 10 | License URI: http://opensource.org/licenses/MIT |
| 11 | |
| 12 | Post Views Counter allows you to display how many times a post, page or custom post type had been viewed in a simple, fast and reliable way. |
| 13 | |
| 14 | == Description == |
| 15 | |
| 16 | [Post Views Counter](http://www.dfactory.eu/plugins/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. |
| 17 | |
| 18 | For more information, check out plugin page at [dFactory](http://www.dfactory.eu/) or plugin [support forum](http://www.dfactory.eu/support/forum/post-views-counter/). |
| 19 | |
| 20 | = Features include: = |
| 21 | |
| 22 | * Option to select post types for which post views will be counted and displayed. |
| 23 | * 4 methods of collecting post views data: PHP, Javascript, Fast AJAX and REST API for greater flexibility |
| 24 | * GDPR compatibility with [Cookie Notice](https://wordpress.org/plugins/cookie-notice/) plugin |
| 25 | * Possibility to manually set views count for each post |
| 26 | * Dashboard post views stats widget |
| 27 | * Capability to query posts according to its views count |
| 28 | * Custom REST API endpoints |
| 29 | * Option to set counts interval |
| 30 | * Excluding counts from visitors: bots, logged in users, selected user roles |
| 31 | * Excluding users by IPs |
| 32 | * Restricting display by user roles |
| 33 | * Restricting post views editing to admins |
| 34 | * One-click data import from WP-PostViews |
| 35 | * Sortable admin column |
| 36 | * Post views display position, automatic or manual via shortcode |
| 37 | * Multisite compatibile |
| 38 | * W3 Cache/WP SuperCache compatible |
| 39 | * Optional object cache support |
| 40 | * WPML and Polylang compatible |
| 41 | * .pot file for translations included |
| 42 | |
| 43 | = Get involved = |
| 44 | |
| 45 | Feel free to contribute to the source code on the [dFactory GitHub Repository](https://github.com/dfactoryplugins). |
| 46 | |
| 47 | |
| 48 | == Installation == |
| 49 | |
| 50 | 1. Install Post Views Counter either via the WordPress.org plugin directory, or by uploading the files to your server |
| 51 | 2. Activate the plugin through the 'Plugins' menu in WordPress |
| 52 | 3. Go to the Post Views Counter settings and set your options. |
| 53 | |
| 54 | == Frequently Asked Questions == |
| 55 | |
| 56 | No questions yet. |
| 57 | |
| 58 | == Screenshots == |
| 59 | |
| 60 | 1. screenshot-1.png |
| 61 | 2. screenshot-2.png |
| 62 | |
| 63 | == Changelog == |
| 64 | |
| 65 | = 1.2.14 = |
| 66 | * Fix: Bulk edit post views count reset issue |
| 67 | |
| 68 | = 1.2.13 = |
| 69 | * New: Experimental Fast AJAX counter method (10+ times faster) |
| 70 | |
| 71 | = 1.2.12 = |
| 72 | * New: GDPR compatibility with Cookie Notice plugin |
| 73 | |
| 74 | = 1.2.11 = |
| 75 | * Tweak: Additional IP expiration checks added as an option |
| 76 | |
| 77 | = 1.2.10 = |
| 78 | * New: Additional transient based IP expiration checks |
| 79 | * Tweak: Chart.js script update to 2.7.1 |
| 80 | |
| 81 | = 1.2.9 = |
| 82 | * Fix: WooCommerce products list table broken |
| 83 | |
| 84 | = 1.2.8 = |
| 85 | * New: Multisite compatibility |
| 86 | * Fix: Undefined index post_views_column on post_views_counter/includes/settings.php |
| 87 | * Tweak: Improved user IP handling |
| 88 | |
| 89 | = 1.2.7 = |
| 90 | * Fix: Chart data not updating for object cached installs due to missing expire parameter |
| 91 | * Fix: Bug preventing hiding the counter based on user role. |
| 92 | * Fix: Undefined notice in the admin dashboard request |
| 93 | |
| 94 | = 1.2.6 = |
| 95 | * Fix: Hardcoded post_views database table prefix |
| 96 | |
| 97 | = 1.2.5 = |
| 98 | * New: REST API counter mode |
| 99 | * New: Adjust dashboard chart colors to admin color scheme |
| 100 | * Tweak: Dashboard chart query optimization |
| 101 | * Tweak: post_views database table optimization |
| 102 | * Tweak: Added plugin documentation link |
| 103 | |
| 104 | = 1.2.4 = |
| 105 | * New: Advanced crawler detection |
| 106 | * Tweak: Chart.js script update to 2.4.0 |
| 107 | |
| 108 | = 1.2.3 = |
| 109 | * New: IP wildcard support |
| 110 | * Tweak: Delete post_views database table on deactivation |
| 111 | |
| 112 | = 1.2.2 = |
| 113 | * Fix: Notice undefined variable: post_ids, thanks to [zytzagoo](https://github.com/zytzagoo) |
| 114 | * Tweak: Switched translation files storage, from local to WP repository |
| 115 | |
| 116 | = 1.2.1 = |
| 117 | * New: Option to display post views on select page types |
| 118 | * Tweak: Dashboard widget query optimization |
| 119 | |
| 120 | = 1.2.0 = |
| 121 | * New: Dashboard post views stats widget |
| 122 | * Fix: A couple of typos in method names |
| 123 | |
| 124 | = 1.1.4 = |
| 125 | * Fix: Dashicons link broken. |
| 126 | * Tweak: Confirmed WordPress 4.4 compatibility |
| 127 | |
| 128 | = 1.1.3 = |
| 129 | * Fix: Duplicated views count in custom post types |
| 130 | * Fix: Exclude visitors checkboxes not working |
| 131 | |
| 132 | = 1.1.2 = |
| 133 | * Fix: Most viewed posts widget broken |
| 134 | |
| 135 | = 1.1.1 = |
| 136 | * Tweak: Enable edit views on new post. |
| 137 | * Tweak: Extend WP_Query post data with post_views |
| 138 | |
| 139 | = 1.1.0 = |
| 140 | * New: Quick post views edit |
| 141 | * New: Bulk post views edit |
| 142 | * Tweak: Admin UI improvements |
| 143 | |
| 144 | = 1.0.12 = |
| 145 | * New: Italian translation, thanks to [Rene Querin](http://www.q-design.it) |
| 146 | |
| 147 | = 1.0.11 = |
| 148 | * New: French translation, thanks to [Theophil Bethel](http://reseau-chretien-gironde.fr/) |
| 149 | |
| 150 | = 1.0.10 = |
| 151 | * New: Option to limit post views editing to admins only |
| 152 | |
| 153 | = 1.0.9 = |
| 154 | * New: Spanish translation, thanks to [Carlos Rodriguez](http://cglevel.com/) |
| 155 | |
| 156 | = 1.0.8 = |
| 157 | * New: Croation translation, thanks to [Tomas Trkulja](http://zytzagoo.net/blog/) |
| 158 | |
| 159 | = 1.0.7 = |
| 160 | * New: Possibility to manually set views count for each post |
| 161 | * New: Plugin development moved to [dFactory GitHub Repository](https://github.com/dfactoryplugins) |
| 162 | |
| 163 | = 1.0.6 = |
| 164 | * New: Object cache support, thanks to [Tomas Trkulja](http://zytzagoo.net/blog/) |
| 165 | * New: Hebrew translation, thanks to [Ahrale Shrem](http://atar4u.com/) |
| 166 | |
| 167 | = 1.0.5 = |
| 168 | * Tweak: Added number_format_i18n for displayed views count |
| 169 | * Tweak: Additional action hook for developers |
| 170 | |
| 171 | = 1.0.4 = |
| 172 | * Fix: Possible issue with remove_post_views_count function |
| 173 | |
| 174 | = 1.0.3 = |
| 175 | * New: Russian translation, thanks to moonkir |
| 176 | * Fix: Remove [post-views] shortcode from post excerpts if excerpt is empty |
| 177 | |
| 178 | = 1.0.2 = |
| 179 | * Fix: Pluggable functions initialized too lately |
| 180 | |
| 181 | = 1.0.0 = |
| 182 | Initial release |
| 183 | |
| 184 | == Upgrade Notice == |
| 185 | |
| 186 | = 1.2.14 = |
| 187 | * Fix: Bulk edit post views count reset issue |