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

Next Milestone 100K

Total Progress 97.1%
90K+ 100K+
1
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 295 more installs to reach 100K+

Rank Changes

442 454 466 478 490 10-10-2026 11-10-2026 12-10-2026 13-10-2026 14-10-2026 15-10-2026 16-10-2026 17-10-2026
442 454 466 478 490 02-10-2026 03-10-2026 04-10-2026 05-10-2026 06-10-2026 07-10-2026 08-10-2026 09-10-2026 10-10-2026 11-10-2026 12-10-2026 13-10-2026 14-10-2026 15-10-2026 16-10-2026 17-10-2026
Current #466
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 50 100 150 200 250 300 350 10-10-2026 11-10-2026 12-10-2026 13-10-2026 14-10-2026 15-10-2026 16-10-2026 17-10-2026
0 100 200 300 400 500 02-10-2026 03-10-2026 04-10-2026 05-10-2026 06-10-2026 07-10-2026 08-10-2026 09-10-2026 10-10-2026 11-10-2026 12-10-2026 13-10-2026 14-10-2026 15-10-2026 16-10-2026 17-10-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.