WP PowerSuite
150+ modules in one suite — toggle only what you need. Zero runtime cost for features you leave off.
See Plans
On This Page
v 1.0.2
Last updated: 02/04/2026

Post Views Counter

Popular-post style view counts with sensible repeat-visit handling and flexible display options.

Overview

Post Views Counter tracks how many times individual posts (and other public post types you allow) are opened on the front of the site. Each qualifying page view can increment a number stored in post meta so themes, blocks, and custom queries can sort or label “popular” content without calling an external analytics API. To keep numbers meaningful, the module typically ignores rapid repeat views from the same visitor within a configurable window using cookies or similar signals, and may skip bots or privileged roles depending on Advanced Settings.

Display is flexible: show the count near the title or meta row automatically, or output it only where you place a shortcode. Because data lives in the database, you can export, back up, or migrate counts with the rest of the site.

Who is this for?
Editors who curate “most read this week” lists benefit from native meta queries. Small newsrooms that cannot rely solely on GA access for all authors still see counts in wp-admin list screens where the module integrates. Developers building custom themes can read the same meta key instead of duplicating tracking logic. Teams on heavy full-page caching must plan how counted hits reach WordPress: either bypass cache for counting endpoints or accept that static cache alone may not increment until a dynamic request occurs—see Troubleshooting.

Features

Meta Storage
View totals are stored per post so you can ORDER BY meta_value, show badges, or sync to external tools with typical WordPress export flows.
Visitor Window (De-Duplication)
Repeat visits from the same browser within the configured period usually do not inflate the count, reducing noise from refreshes and double tabs.
Bot and Role Handling
Advanced Settings may exclude logged-in editors, administrators, or known bot signatures so internal QA does not dominate statistics.
Display Modes
Automatic placement appends or prepends near content when enabled; shortcodes offer exact placement in patterns or classic widgets.
Post Type Scope
Limit counting to posts, pages, custom types, or exclude sensitive CPTs that should stay private in metrics.

How It Works

1
Enable the Module
In WP PowerSuite, enable "Post Views Counter."
2
Configure Advanced Settings
Choose eligible post types, de-duplication window, exclusions for roles or bots, and display options. Save.
3
Verify Singular Templates
Open a public post as a logged-out visitor (or incognito). Reload after the cool-down window to see incremental behavior.
4
Integrate with Theme or Blocks
Use auto-display or add the shortcode documented in the module UI. Confirm styling with your typography scales.
5
Plan for Caching
If a CDN or plugin serves fully static HTML, coordinate cache rules so at least one dynamic path can register hits, or treat counts as approximate.
Performance Note
Each new qualifying view may perform one meta update. High-traffic posts under uncached load increase database writes compared to a purely passive page. For very large sites consider object caching for post meta or sampling strategies outside this module’s scope. The counter logic runs on singular requests only, not on archives or admin screens (unless extended elsewhere).

Installation & Activation

1
Install WP PowerSuite
Activate the main plugin.
2
Enable Post Views Counter
Toggle the module on from the module list.
3
Tune Before Announcements
Set exclusions for your team’s IPs or roles if they browse the live site while editing.
4
Clear and Test Cache
After changing display settings, purge caches and confirm counts on fresh sessions.
Requirements
PHP 8.1 or higher WordPress 6.0 or higher Permission to manage options (Administrator) Singular frontend templates for counting

Use Cases

  • TopPosts
    Homepage modules that list top posts by view meta.
  • TractionProof
    Sponsored content packages where advertisers want simple proof of traction.
  • PerformanceAudit
    Editorial audits comparing similar headlines’ performance.
  • TrendingContent
    Membership sites surfacing trending articles inside the paywall.

Frequently Asked Questions

Troubleshooting

  • Counts stay at zero
    Confirm the post type is enabled, you are not viewing static cache only, and security plugins are not blocking front-end scripts or cookies the counter relies on.
  • Numbers spike unrealistically
    Check whether bots are excluded, whether a monitoring service pings URLs, and whether prefetchers trigger hits—tighten exclusions or rate limits at edge if available.
  • Counts differ from Google Analytics
    GA uses different definitions (sessions, users, sampling). Expect divergence; align stakeholders on “server-side singular hits with de-dupe” as the source of truth here.
  • Display missing on some posts
    Ensure the theme calls the_content or the hook used for auto-display, and that no conflicting plugin strips footer/meta areas.