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 #470 among WordPress.org plugins with 90,000+ active installations, is #25 of 2,168 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.4
v2.0.1 Current Version v2.0.1
Updated 2 months ago Last Update on 24 Aug, 2026
Refreshed 18 hours ago Last Refreshed on
#25 of 2,168 in Analytics Top 1% by installs Downloads -43.4% this week
View on WordPress.org
Rank
#470
— No change
Active Installs
90K+
-10%
KW Avg Position
16
0.4 worse
Downloads
3.5M
+48 today
Support Resolved
0%
— No change
Rating
88%
Review 4.4 out of 5
4.4 (65 reviews)

Next Milestone 100K

Total Progress 82.9%
90K+ 100K+
6
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 1,715 more installs to reach 100K+

Rank Changes

446 458 470 481 493 25-10-2026 26-10-2026 27-10-2026 28-10-2026 29-10-2026 30-10-2026 31-10-2026 01-11-2026
443 455 468 481 493 17-10-2026 18-10-2026 19-10-2026 20-10-2026 21-10-2026 22-10-2026 23-10-2026 24-10-2026 25-10-2026 26-10-2026 27-10-2026 28-10-2026 29-10-2026 30-10-2026 31-10-2026 01-11-2026
Current #470
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

0 100 200 300 400 500 25-10-2026 26-10-2026 27-10-2026 28-10-2026 29-10-2026 30-10-2026 31-10-2026 01-11-2026
0 200 400 600 800 1K 1.2K 1.4K 17-10-2026 18-10-2026 19-10-2026 20-10-2026 21-10-2026 22-10-2026 23-10-2026 24-10-2026 25-10-2026 26-10-2026 27-10-2026 28-10-2026 29-10-2026 30-10-2026 31-10-2026 01-11-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.