Simple Post View Counter – Clean and Fast Post View Analytics
Simple Post View Counter is a lightweight yet powerful plugin to track how many times your WordPress posts are viewed. Key Features ✅ Automatic post view tracking (AJAX-based, works even in incognito mode) ✅ Prevents double-counting on refresh ✅ Built-in bot detection ✅ Display views before content,
Simple Post View Counter is a lightweight yet powerful plugin to track how many times your WordPress posts are viewed.
Key Features
- ✅ Automatic post view tracking (AJAX-based, works even in incognito mode)
- ✅ Prevents double-counting on refresh
- ✅ Built-in bot detection
- ✅ Display views before content, after content, beside meta, or manually
- ✅ “Most Viewed Posts” widget with customizable display
- ✅ Shortcodes for displaying most viewed posts and individual post views
- ✅ Admin settings page with statistics (total views, average views, top posts, etc.)
- ✅ Views column in admin post list (sortable by views)
- ✅ Exclude admin views from tracking
- ✅ Works with caching plugins
Shortcodes
- [post_views] → Display view count for current post Options: post_id , format="%s views"
- [most_viewed_posts] → Display a list of most viewed posts Options: limit="5" , show_count="yes" , show_excerpt="no"
Example Usage
- [most_viewed_posts] → Show top 5 posts
- [most_viewed_posts limit="10" show_count="yes"] → Show 10 posts with view counts
- [post_views] → Show current post’s view count
Widgets
Go to Appearance → Widgets and add the Most Viewed Posts widget to your sidebar.
Video Tutorial
Theme Function
`php
Credits
Developed by Sadhan Pal
License
This plugin is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.