Wp Post Views – WordPress Post views counter Icon

Wp Post Views – WordPress Post views counter

By Ronak J Vanpariya

Active Installs

4,000+

Last Updated

September 19, 2026

First Released

February 1, 2020

Download History (Last one month)


WP Post Views counts the views of your built-in post types (Posts, Pages) and Custom Post Types. It provides multiple ways to display these counts, including a modern Gutenberg block, shortcodes, and PHP functions.

Features And Options:

  • Simple & Easy: Designed to be simple and easy to understand for everyone.
  • Gutenberg Block: A dedicated “Post Views” block for easy placement in your layouts.
  • IP Filtering: Option to filter views by IP address to ensure accurate counts.
  • Post Type Support: Choose which post types to track in the settings.
  • Admin Column: View counts directly in your post/page lists in the admin dashboard.
  • Performance: Optimized queries and transient caching for total view counts.

How to Display Post Views:

1. Gutenberg Block
Search for the “Post Views” block in the editor.

2. Shortcodes
– [WPPV-TOTAL-VIEWS]: Display the view count for the current post.
– [WPPV-TOTAL-VIEWS-PER-POST-TYPE post_type="post"]: Display total views for a specific post type.

3. PHP Function

Tutorial

Development

  • Development happening on GitHub :- WP Post Views Github
  • Create issue on the GitHub OR Pull request for new feature when new tag added it will automatically deployed.
  1. Install the plugin via the WordPress.org plugin directory or by uploading the files to /wp-content/plugins/.
  2. Activate the plugin through the ‘Plugins’ menu.
  3. Configure settings at Settings > WP Post Views.
Does it work with caching plugins?

Yes. WP Post Views uses a lightweight JavaScript-based tracking method to ensure views are counted even when your site is served via a caching plugin (like WP Rocket, W3 Total Cache, etc.).

Can I track views for custom post types?

Absolutely. You can select which post types to track in the plugin settings page.

How can I exclude my own views?

The plugin includes an IP filtering feature. You can enter your IP address in the settings to prevent your own visits from being counted.

How do I display the view count?

You have three options:
1. Use the “Post Views” Gutenberg block.
2. Use the [WPPV-TOTAL-VIEWS] shortcode.
3. Use the get_post_view() PHP function in your theme templates.

Is it lightweight?

Yes, it’s designed with performance in mind. It uses efficient database queries and transient caching for aggregate counts to minimize server load.

Changelog

1.23.4 – 19/September/2026

  • Fixed PHP test in github Actions
  • Added Languages

1.23.1 – 20/05/2026

  • New Feature: Added a modern Gutenberg block to display post views.
  • Documentation: Launched new documentation site using VitePress.
  • Workflow: Updated GitHub Actions for automated building and WordPress.org asset deployment.
  • Assets: Added dedicated assets for the WordPress.org plugin page.
  • Testing: Expanded PHPUnit test suite to include Gutenberg block rendering.

1.22.0 – 15/12/2025

  • Added PHPUnit testing framework, Composer dependencies, and GitHub Actions for CI.

1.21.0 – 26/09/2025

  • Version updates

1.18.0 – 16/12/2024

  • Removed Home page checks from Ajax.
  • Now home page views will be counted

1.17.0 – 30/11/2024

  • Complete architecture Changed on How we count views.
  • we are using simple Js insted of AJAX.
<br />
<b>Warning</b>:  Undefined array key /home/ylinkin/truewp.net/wp-content/plugins/truewp-plugin-info/truewp-plugin-info.php on line 756
" width="120" height="120">

Available Versions

Version Download Type
1.23.4 Download Stable
1.23.3 Download Stable
1.23.2 Download Stable
1.23.1 Download Stable
1.23.0 Download Stable
1.22 Download Stable
1.21 Download Stable
1.20 Download Stable
1.19 Download Stable
1.17 Download Stable
1.16 Download Stable
1.15 Download Stable
1.14 Download Stable
1.13 Download Stable
1.12 Download Stable
1.11 Download Stable
1.10 Download Stable
1.9 Download Stable
1.8 Download Stable
1.7 Download Stable
1.6 Download Stable
1.5 Download Stable
1.4 Download Stable
1.3 Download Stable
1.2 Download Stable
1.0 Download Stable
Development Download Trunk

Plugin Info

  • Version: 1.23.4
  • Last Updated: September 19, 2026
  • Active Installs: 4,000+
  • WordPress Version: 5.4 or higher
  • Tested up to: 7.1.3
  • PHP Version: 7.4 or higher
  • Tags:    
    analytics counter post-views stats views

Ratings


4.4 out of 5 stars. (7 reviews)

See all reviews
Scroll to Top