PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. Hits
  4. WP-PostViews
WP-PostViews icon

WP-PostViews

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

By Lester Chan·Hits·Free
4.4(65 reviews)
·100K+ active installs·Updated 7 months ago
DownloadVisit HomepageCompare

As of April 2026, WP-PostViews is a WordPress hits plugin with 100K+ active installations and a 4.4/5 rating from 65 reviews. It has been downloaded 3.4M+ times in total. Requires WordPress 4.0+ and PHP false+. Available on WordPress.org since 2006. Downloads are down 10% this week. Top alternative: SRS Simple Hits Counter.

4.4/565 reviews
100K+active installs
3.4M+total downloads
20 yearssince 2006

Overview

Usage

  1. Open wp-content/themes/<YOUR THEME NAME>/index.php
  2. You may place it in archive.php, single.php, post.php or page.php also.
  3. Find: <?php while (have_posts()) : the_post(); ?>
  4. Add Anywhere Below It (The Place You Want The Views To Show): <?php if(function_exists('the_views')) { the_views(); } ?>
  5. Or you can use the shortcode [views] or [views id="1"] (where 1 is the post ID) in a post
  6. Go to WP-Admin -> Settings -> PostViews to configure the plugin.

Development

https://github.com/lesterchan/wp-postviews/

Translations

http://dev.wp-plugins.org/browser/wp-postviews/i18n/

Credits

  • Plugin icon by Iconmoon from Flaticon

Donations

I spent most of my free time creating, updating, maintaining and supporting these plugins, if you really love my plugins and could spare m…

Read full description on WordPress.org

Screenshots

Ratings & Reviews

4.465 reviews
5 ★
48
4 ★
8
3 ★
1
2 ★
1
1 ★
7

Recent Reviews

Useful plugin, but unique view counting by IP would be a great addition
by KR. Laboratories·5 months ago

I’ve been using WP-PostViews for some time now, and it’s a very straightforward and effective plugin for displaying post views. The settings to count views only from guests and exclude bots work well.

However, I’ve noticed that if a guest refreshes a page multiple times, each refresh is counted as a new view. While this is typical behavior for a basic hit counter, it makes the view count less representative of actual unique visitors.

I would highly recommend considering an enhancement to include an option to count unique views based on IP address (e.g., once per IP within a specified timeframe like 24 hours). This would significantly improve the accuracy of the statistics and make the plugin even more valuable for site owners who want to track genuine reader engagement.

Thank you for this plugin!

No longer works with Advanced Queries / Elementor
by whitelabelcroydon·1 year ago

Have been using this a while along side Advanced Queries and Elementors Loop widget to display a list grid of most popular articles on a website.

Doesnt seem to be working anymore. I think its still keeping count of the post views, but the views template variable isnt pulling in the correct posts. From the posts it is showing it looked like it stopped updating in January of this year.

Will need to find another solution!

It doesn’t work with 6.5.2 wordpres version
by sergio.pinna.prato·1 year ago

It doesn’t work with 6.5.2 wordpres version.

  • This topic was modified 1 year, 11 months ago by sergio.pinna.prato.
I guess this is no longer in supported
by Beulahland83·3 years ago

The plugin is no longer compatible with some themes

example of (Corpo)

very useful
by douggeeks·4 years ago

Very useful little plugin.

Download Trends

Today: 201Yesterday: 289This week: 1KPeriod total: 122K

Compatibility

WordPress4.0+ requiredTested up to 6.8.5
PHPfalse+ required

Version Adoption

v1.78
47.1%
v1.77
26.7%
v1.76
18.2%
Other
7.9%

Top Alternatives to WP-PostViews

SRS Simple Hits Counter icon
SRS Simple Hits Counter
4.28.0K+ installsUpdated 1 year ago
ViewCompare
Real-Time Post Statistics for WordPress icon
Real-Time Post Statistics for WordPress
4.82.0K+ installsUpdated 1 week ago
ViewCompare
Counter-Hits icon
Counter-Hits
51.0K+ installsUpdated 2 months ago
ViewCompare
AJAX Hits Counter + Popular Posts Widget icon
AJAX Hits Counter + Popular Posts Widget
4.91.0K+ installsUpdated 5 years ago
ViewCompare
Pageviews icon
Pageviews
4.71.0K+ installsUpdated 6 years ago
ViewCompare
View all hits plugins →

Frequently Asked Questions

Changelog

Version 1.78

  • NEW: Add %POST_THUMBNAIL_URL% to template variables

Version 1.77

  • NEW: Use Vanilla JS. Props @JiveDig
  • NEW: Bump to WordPress 6.2
  • NEW: Support views under fields for Rest API. Props @vitro-mod
View full changelog on WordPress.org

Contributors

Lester ChanLester Chan
Plugin Info
Version
1.78
Last Updated
Aug 31, 2025
WP Requires
4.0+
Tested Up To
6.8.5
PHP Requires
false+
Active Installs
100K+
Downloads
3.4M+
Added
Feb 8, 2006
Business
Free

Tags

hitsviewscounterpostviews

Developer

L
Lester Chan
20 plugins0.9M+ total installs
View all plugins →

Quick Compare

WP-PostViews vs SRS Simple Hits Counter→WP-PostViews vs Real-Time Post Statistics for WordPress→WP-PostViews vs Counter-Hits→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.