WP Views Counter Plugin
Visits Post(types) counter. Shown the number of visits on lists of posts, pages and/or custom post types and shortcode.
Knows how much views has every post, page or custom post type, just on wordpress list.
You can select on plugin settings, which types must count. Also you can print using shortcode [WPeCounter] in widgets, post or pages.
Works with Easy Digital Downloads Products to see how many views has every Download, also with other plugins that work with public custom post types.
Is extremely lightweight because it works with ajax.
Developer and bugtracker on github repository: https://github.com/Etruel-Developments/wpecounter/issues
Feel free to fork it and propose new enhancements or Pull Requests.
Features
- Widget with list of most popular posts (types).
- Configurable visit counter by Custom Post Types.
- Allow to “Order By Visits” on all selected Post (types) lists.
- Compatibility with Easy Digital Downloads.
- Allow to import meta-fields from other counters.
- Multilanguage Ready.
Features Comming Soon
- Options to doesn’t count logged in users, or per role selected in settings.
- Select the column order to display the Views column in every post type list.
At initial versions we used “Entry views” script created by Justin Tadlock with GPLv2.
There is little unmodified code left from those early days, but we are very grateful to him for his work.
Hope you can also enjoy this plugin.
Installation
You can either install it automatically from the WordPress admin, or do it manually:
- Unzip “WP Views Counter” archive and put the folder into your plugins folder (/wp-content/plugins/).
- Activate the plugin through the ‘Plugins’ menu in WordPress
- You’ll see a new column with Views on WordPress pages/posts/types list screen.
- For print use shortcode [WPeCounter] in widgets, post or pages.
Screenshots
Admin settings page.
Showing on posts list.
Legacy Widget to Display Popular Posts (types).
FAQ
Can I upgrade to version 2.0 without losing the counters from previous versions? Yes, the 2.0 major version will import the previous settings and counters. You can also import other custom fields. However, make a backup copy!
Changelog
2.0.2 – Jun 01, 2024
- Bump to WP 6.5.4
- Fixes on loading language files.
2.0.1
- Added Danger Zone in Settings allowing to fix failed imports, duplicated metafields and empty fields processes.
- Improved column order query in all post types lists.
- Fixes the import process that if it uses same Views metafield the duplicate the metafields in each post.
- Updated POT and Spanish language files.
2.0
- New name! WP Views Counter. Make it more realistic with its uses.
- We made a brand new and coded from scratch. More solid. more robust, more lightweight.
- Added Legacy Widget! With list of most visited posts (types).
- Fixes the preview count when it only had to count visits at frontend.
- Language POT and es_ES files updated.
- Tested on WordPress 6.0.2
1.2
- Added Compatibility with Easy Digital Downloads.
- Fixes for many other Custom Post Types.
- Moved the Views column to the end.
- Tested on WordPress 4.5
1.1.2
- Compatible with php 5.4. Lot of Strict Standars PHP Warning and notices fixed.
- Fix another notice on Entry views script on php>=5.4
1.1.1
- Fix some cases of “Call to undefined function get_plugin_data()”.
- Language POT and es_ES files updated.
- Preparing for popular posts(types) widget. 😉
1.1
- Added “Order By Visits” feature on post(types) list.
- Changed order of Views column to appear left side of comments column in post(type) list.
- Added Feature Import meta-fields from other counters.
- Added Serbo-Croatian Language thanks to Borisa Djuraskovic
- Minnor fix on selecting columns to view in WordPress display settings.
1.0
First Release