Title: WP Views Counter
Author: etruel
Published: <strong>May 11, 2013</strong>
Last modified: December 19, 2025

---

Search plugins

![](https://ps.w.org/wpecounter/assets/banner-772x250.png?rev=2781621)

![](https://ps.w.org/wpecounter/assets/icon-256x256.png?rev=2781621)

# WP Views Counter

 By [etruel](https://profiles.wordpress.org/etruel/)

[Download](https://downloads.wordpress.org/plugin/wpecounter.2.1.3.zip)

 * [Details](https://wordpress.org/plugins/wpecounter/#description)
 * [Reviews](https://wordpress.org/plugins/wpecounter/#reviews)
 *  [Installation](https://wordpress.org/plugins/wpecounter/#installation)
 * [Development](https://wordpress.org/plugins/wpecounter/#developers)

 [Support](https://wordpress.org/support/plugin/wpecounter/)

## Description

**WP Views Counter** is a lightweight, high-performance plugin that accurately tracks
and displays post, page, and custom post type views — directly in the WordPress 
admin, via shortcode, or with a Gutenberg block.

Built for bloggers, marketers, store owners, and developers, it works seamlessly
across all post types — including WooCommerce and Easy Digital Downloads — with 
minimal impact on your site’s speed. No external scripts. No unnecessary bloat.

This plugin does one job and does it exceptionally well: it tells you which content
is getting the most attention.

#### Key Benefits

✅ **Accurate view counts** in admin columns, shortcode, or block
 ✅ **Metabox 
per post** with real-time views and reset button ✅ **Exclude views from logged-
in users or specific roles** ✅ **Fully AJAX-powered** — no page reloads or slowdowns
✅ **Works with all post types**, including EDD and WooCommerce ✅ **Block to display
popular posts** — no legacy widgets required ✅ **Developer-friendly and fully translatable**
✅ **Import views from other plugins**

Whether you’re optimizing your content strategy or simply want to know what’s working,**
WP Views Counter** is the simple and effective alternative to bloated analytics 
plugins.

📦 Start tracking your most popular content today — with clarity, speed and control.

💡 Developer-friendly: [Contribute on GitHub](https://github.com/Etruel-Developments/wpecounter/issues)—
forks and pull requests welcome.

## Screenshots

 * [[
 * Admin settings page.
 * [[
 * Views displayed in post list.
 * [[
 * Widget showing popular posts by views.
 * [[

## Blocks

This plugin provides 1 block.

 *   Most Popular A dynamic block showing the most popular posts.

## Installation

 1. Upload the plugin to `/wp-content/plugins/` and unzip it.
 2. Activate via the **Plugins** menu in WordPress.
 3. Configure settings under **Settings  WP Views Counter**.
 4. Use `[WPeCounter]` in content or widgets to display views.

## FAQ

### Can I upgrade from an older version without losing data?

Yes. Version 2.0+ automatically imports your previous data and settings. You can
also manually import custom view fields. Always make a backup first.

## Reviews

![](https://secure.gravatar.com/avatar/686b5803cc18102d924a50f54aabf69c0789150c1b0e99ba99b091135875055a?
s=60&d=retro&r=g)

### 󠀁[AJAX Supported!](https://wordpress.org/support/topic/ajax-supported/)󠁿

 [Dr. Melvin Temo](https://profiles.wordpress.org/temovision/) December 5, 2025

Only free Plugin that does the trick without slowing down the site. NO unnecessary
bloat! Thanks alot.

![](https://secure.gravatar.com/avatar/7fe9786e428fb754a054b33c6f341b15e276307aaac4d9ab6bdf77d82802e127?
s=60&d=retro&r=g)

### 󠀁[Fantastic Plugin – running behind Cloudflare](https://wordpress.org/support/topic/fantastic-plugin-running-behind-cloudflare/)󠁿

 [emanuelcelano](https://profiles.wordpress.org/emanuelcelano/) November 29, 2025
1 reply

I tested the view counter plugin on a test site running behind Cloudflare, and it
is truly well-built and lightweight. Thanks to the developer for the excellent work.
It was the only plugin that worked correctly even with Cloudflare’s cache fully 
enabled. Fantastic job, really well done!

![](https://secure.gravatar.com/avatar/8c3f8254924952aa07293b11dae1755f6c688c1ae376ee2b4f0eaadc3ba05dc8?
s=60&d=retro&r=g)

### 󠀁[Muy util aun en 2018!](https://wordpress.org/support/topic/muy-util-aun-en-2018/)󠁿

 [eeprom_one](https://profiles.wordpress.org/eeprom_one/) February 26, 2018 1 reply

funcionando con WP 4.9.4 y Divi ultima versión enhorabuena

 [ Read all 5 reviews ](https://wordpress.org/support/plugin/wpecounter/reviews/)

## Contributors & Developers

“WP Views Counter” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ etruel ](https://profiles.wordpress.org/etruel/)
 *   [ manuelge ](https://profiles.wordpress.org/khaztiel/)
 *   [ gerarjos14 ](https://profiles.wordpress.org/gerarjos14/)

[Translate “WP Views Counter” into your language.](https://translate.wordpress.org/projects/wp-plugins/wpecounter)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wpecounter/), check
out the [SVN repository](https://plugins.svn.wordpress.org/wpecounter/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/wpecounter/) by 
[RSS](https://plugins.trac.wordpress.org/log/wpecounter/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.1.3 – Dec 19, 2025

 * Security: Improved access control and request validation in admin settings.
 * Added proper capability checks to restrict sensitive actions to administrators
   only.
 * Added nonce verification to protect destructive actions against unauthorized 
   requests.
 * General hardening of admin-side logic.

#### 2.1.2 – Nov 19, 2025

 * Add security to reset function

#### 2.1.1 – Sep 25, 2025

 * Fixed PHP Warnings displayed in DEBUG mode for Undefined array keys of non-public
   post-types.

#### 2.1 – Jun 13, 2025

 * Added a post metabox showing view count with a “Reset” button per post.(Deprecated
   Legacy Widget will be deleted on future release.)
 * Introduced a Gutenberg block to replace the legacy popular posts widget.
 * New option to choose the Views column position in each post type list.
 * Added feature to exclude logged-in users (or by role) from the view count.
 * New tools to reset all view counters or by post type.

#### 2.0.4 – Jun 4, 2025

 * Improved output sanitization and escaping for enhanced security.
 * Fixed minor issues reported in compatibility scans.
 * General code quality and performance improvements.
 * Fully compatible with WordPress 6.8.

#### 2.0.3 – Apr 22, 2025

 * Fixed incorrect posts order when clicking on the Views column header.
 * Fixed a fatal error occurring during plugin uninstallation.
 * Bump to WP 6.8

#### 2.0.2 – Jun 01, 2024

 * Bump to WP 6.5.4
 * Fixes on loading language files.

#### 2.0.1

 * Added Danger Zone in Settings allowing to fix failed imports, duplicated metafields
   and empty fields processes.
 * Improved column order query in all post types lists.
 * Fixes the import process that if it uses same Views metafield the duplicate the
   metafields in each post.
 * Updated POT and Spanish language files.

#### 2.0

 * New name: WP Views Counter — better reflects its functionality.
 * Rewritten from scratch — faster, more robust, more extensible.
 * New Legacy Widget with list of most visited posts.
 * Fixes frontend-only view counting behavior.
 * Updated language files and tested with WordPress 6.0.2.

#### 1.2

 * Added compatibility with Easy Digital Downloads.
 * Fixes for other Custom Post Types.
 * Adjusted Views column position.

#### 1.1.2

 * Fixed PHP warnings and strict standard issues (5.4+).
 * Improved compatibility.

#### 1.1.1

 * Fixed “Call to undefined function get_plugin_data()” error.
 * Updated translations.

#### 1.1

 * New: “Order by Visits” on admin post list.
 * Views column position changed next to Comments column.
 * Meta-field importer for other counter plugins.
 * Added Serbo-Croatian translation.

#### 1.0

Initial Release.

## Meta

 *  Version **2.1.3**
 *  Last updated **4 months ago**
 *  Active installations **2,000+**
 *  WordPress version ** 3.1 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.0 or higher **
 * Tags
 * [ajax counter](https://wordpress.org/plugins/tags/ajax-counter/)[analytics](https://wordpress.org/plugins/tags/analytics/)
   [popular posts](https://wordpress.org/plugins/tags/popular-posts/)[post views](https://wordpress.org/plugins/tags/post-views/)
   [Views Counter](https://wordpress.org/plugins/tags/views-counter/)
 *  [Advanced View](https://wordpress.org/plugins/wpecounter/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  5 5-star reviews     ](https://wordpress.org/support/plugin/wpecounter/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wpecounter/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wpecounter/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wpecounter/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wpecounter/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wpecounter/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wpecounter/reviews/)

## Contributors

 *   [ etruel ](https://profiles.wordpress.org/etruel/)
 *   [ manuelge ](https://profiles.wordpress.org/khaztiel/)
 *   [ gerarjos14 ](https://profiles.wordpress.org/gerarjos14/)

## Support

Issues resolved in last two months:

     1 out of 1

 [View support forum](https://wordpress.org/support/plugin/wpecounter/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7267TH4PT3GSW)