by Lester Chan
4.4 (65 reviews)
WP-PostViews
Enables you to display how many times a post/page had been viewed.
Tested up to WP 6.8.3 (Current: 6.9)
v1.78
Current Version v1.78
Updated 4 months ago
Last Update on 31 Aug, 2025
Synced 16 hours ago
Last Synced on
Rank
#419
—
No change
Active Installs
100K+
—
No change
KW Avg Position
96.5
-0.5 better
Downloads
3.4M
+28 today
Support Resolved
0%
—
No change
Rating
88%
Review 4.4 out of 5
4.4
(65 reviews)
Next Milestone 200K
100K+
200K+
137
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro
Unlock Exact Install Count
See the precise estimated active installs for this plugin, calculated from real-time ranking data.
- Exact install estimates within tiers
- Track install growth over time
- Milestone progress predictions
Need 64,929 more installs to reach 200K+
Rank Changes
Current
#419
Change
Best
#
Downloads Growth
Downloads
Growth
Peak
Upgrade to Pro
Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.
Upgrade NowReviews & Ratings
4.4
65 reviews
Overall
88%
5
48
(74%)
4
8
(12%)
3
1
(2%)
2
1
(2%)
1
7
(11%)
Tracked Keywords
Showing 2 of 2Unlock Keyword Analytics
Track keyword rankings, search positions, and discover new ranking opportunities with a Pro subscription.
- Full keyword position tracking
- Historical ranking data
- Competitor keyword analysis
Track This Plugin
Get detailed analytics, keyword tracking, and position alerts delivered to your inbox.
Start Tracking FreePlugin Details
- Version
- 1.78
- Last Updated
- Aug 31, 2025
- Requires WP
- 4.0+
- Tested Up To
- 6.8.3
- PHP Version
- N/A
- Author
- Lester Chan
Support & Rating
- Rating
- ★ ★ ★ ★ ☆ 4.4
- Reviews
- 65
- Support Threads
- 0
- Resolved
- 0%
Keywords
Upgrade to Pro
Unlock keyword rankings, search positions, and detailed analytics with a Pro subscription.
Upgrade NowSimilar Plugins
WP Adminify – White Label WordPress, Admin Menu Editor, Login Customizer
7K+ installs
#2,735
Master Addons For Elementor - White Label, Free Widgets, Hover Effects, Conditions, & Animations
40K+ installs
#929
Header and Footer Scripts
200K+ installs
#258
Post Views Counter
200K+ installs
#271
SEO SIMPLE PACK
100K+ installs
#328
Frequently Asked Questions
Common questions about WP-PostViews
Go to WP-Admin -> Appearance -> Widgets The widget name is Views. To Display Least Viewed Posts <?php if (function_exists('get_least_viewed')): ?> <ul> <?php get_least_viewed(); ?> </ul> <?php endif; ?> The first value you pass in is the post type that you want. If you want to get every post types, just use 'both'. It also supports PHP array: example array('post', 'page'). The second value you pass in is the maximum number of post you want to get. Default: get_least_viewed('both', 10); To Display Most Viewed Posts <?php if (function_exists('get_most_viewed')): ?> <ul> <?php get_most_viewed(); ?> </ul> <?php endif; ?> The first value you pass in is the post type that you want. If you want to get every post types, just use 'both'. It also supports PHP array: example array('post', 'page'). The second value you pass in is the maximum number of post you want to get. Default: get_most_viewed('both', 10); To Display Least Viewed Posts By Tag <?php if (function_exists('get_least_viewed_tag')): ?> <ul> <?php get_least_viewed_tag(); ?> </ul> <?php endif; ?> The first value you pass in is the tag id. The second value you pass in is the post type that you want. If you want to get every post types, just use 'both'. It also supports PHP array: example array('post', 'page'). The third value you pass in is the maximum number of post you want to get. Default: get_least_viewed_tag(1, 'both', 10); To Display Most Viewed Posts By Tag <?php if (function_exists('get_most_viewed_tag')): ?> <ul> <?php get_most_viewed_tag(); ?> </ul> <?php endif; ?> The first value you pass in is the tag id. The second value you pass in is the post type that you want. If you want to get every post types, just use 'both'. It also supports PHP array: example array('post', 'page'). The third value you pass in is the maximum number of post you want to get. Default: get_most_viewed_tag(1, 'both', 10); To Display Least Viewed Posts For A Category <?php if (function_exists('get_least_viewed_category')): ?> <ul> <?php get_least_viewed_category(); ?> </ul> <?php endif; ?> The first value you pass in is the category id. The second value you pass in is the post type that you want. If you want to get every post types, just use 'both'. It also supports PHP array: example array('post', 'page'). The third value you pass in is the maximum number of post you want to get. Default: get_least_viewed_category(1, 'both', 10); To Display Most Viewed Posts For A Category <?php if (function_exists('get_most_viewed_category')): ?> <ul> <?php get_most_viewed_category(); ?> </ul> <?php endif; ?> The first value you pass in is the category id. The second value you pass in is the post type that you want. If you want to get every post types, just use 'both'. It also supports PHP array: example array('post', 'page'). The third value you pass in is the maximum number of post you want to get. Default: get_most_viewed_category(1, 'both', 10); To Sort Most/Least Viewed Posts You can use: <?php query_posts( array( 'meta_key' => 'views', 'orderby' => 'meta_value_num', 'order' => 'DESC' ) ); ?> Or pass in the variables to the URL: http://yoursite.com/?v_sortby=views&v_orderby=desc You can replace DESC with ASC if you want the least viewed posts. To Display Updating View Count With LiteSpeed Cache Use: <div id="postviews_lscwp"></div> to replace <?php if(function_exists('the_views')) { the_views(); } ?>. NOTE: The id can be changed, but the div id and the ajax function must match. Replace the ajax query in wp-content/plugins/wp-postviews/postviews-cache.js with jQuery.ajax({ type:"GET", url:viewsCacheL10n.admin_ajax_url, data:"postviews_id="+viewsCacheL10n.post_id+"&action=postviews", cache:!1, success:function(data) { if(data) { jQuery('#postviews_lscwp').html(data+' views'); } } }); Purge the cache to use the updated pages. To Get Views With REST API You can obtain the number of post views by adding views to your _fields parameter: /wp/v2/posts?_fields=views,title