WP-PostViews
by Lester Chan 4.4 (65 reviews)

WP-PostViews

Enables you to display how many times a post/page had been viewed.

WP-PostViews ranks #459 among WordPress.org plugins with 100,000+ active installations, is #17 of 1,973 in the Analytics category, a 4.4/5 rating from 65 reviews, and was last updated Aug 24, 2026. Data from WordPress.org, refreshed twice daily — see methodology.

Compatible with WP 7.1
v2.0.1 Current Version v2.0.1
Updated 3 weeks ago Last Update on 24 Aug, 2026
Refreshed 11 hours ago Last Refreshed on
#17 of 1,973 in Analytics Top 1% by installs Downloads -44.8% this week Actively maintained
View on WordPress.org
Rank
#459
No change
Active Installs
100K+
-6.3%
KW Avg Position
16.6
No change
Downloads
3.5M
+230 today
Support Resolved
0%
No change
Rating
88%
Review 4.4 out of 5
4.4 (65 reviews)

Next Milestone 200K

Total Progress 3.4%
100K+ 200K+
173
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
Upgrade to Pro
Need 96,649 more installs to reach 200K+

Rank Changes

435 447 459 470 482 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026
434 446 458 470 482 31-08-2026 01-09-2026 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026
Current #459
Change
Best #

Upgrade to Pro

Unlock 30-day and 90-day rank history charts with a Pro subscription.

Upgrade Now

Active Installs Growth

Active Installs 0,000,000+
Growth +0.0%
Peak 0,000,000

Downloads Growth

200 250 300 350 400 450 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026
200 300 400 500 600 700 800 31-08-2026 01-09-2026 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026
Downloads
Growth
Peak

Upgrade to Pro

Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.

Upgrade Now

Reviews & Ratings

4.4
65 reviews
Overall 88%
5
48 (74%)
4
8 (12%)
3
1 (2%)
2
1 (2%)
1
7 (11%)

Security History

Source: WPVulnerability

1 known vulnerability on record · 0 in the last 24 months · checked 1 week ago

  1. WP-PostViews [wp-postviews] < 1.63

    CVE-2013-3252 · Fixed in v1.63

TL;DR

AI summary of the plugin's readme

WP-PostViews is for WordPress site owners who want to show visitors how many times a post or page has been viewed. It solves the problem of tracking and displaying per-post view counts, offering template code, a shortcode, and an admin settings page to configure the display.

  • Displays post/page view counts
  • Shortcode [views] support
  • WP-Admin settings page
  • Post views widget
  • Custom post type support in widget
  • Most/least viewed posts query
  • Rounded view count display
  • Multisite network activation support

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: https://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 script must match. The plugin's js/wp-postviews-cache.js already posts the view and receives the new count back, so you only need to write that count into your div. Add this to your theme, or to a small script of your own enqueued after wp-postviews-cache:
const target = document.getElementById( 'postviews_lscwp' ); if ( target ) { target.textContent = event.detail.views + ' 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
The screen requires manage_options. The wp_postviews_capability filter is read
add_filter( 'wp_postviews_capability', function () { return 'edit_others_posts'; } );

More plugins by Lester Chan

Sign In / Register

You need to sign in or register to use this feature.