On This Page
On This Page
Post Views Counter
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.

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
Visitor Window (De-Duplication)
Bot and Role Handling
Display Modes
Post Type Scope
Use Cases
- TopPostsHomepage modules that list top posts by view meta.
- TractionProofSponsored content packages where advertisers want simple proof of traction.
- PerformanceAuditEditorial audits comparing similar headlines’ performance.
- TrendingContentMembership sites surfacing trending articles inside the paywall.
Frequently Asked Questions
Does it count logged-in editors?
Typically editors are excluded or configurable—check Advanced Settings so your preview traffic does not skew production stats.
Can I reset a post’s count?
If the UI or tools expose meta cleanup, yes; otherwise delete the meta key via database tools only with backups and expertise.
Will page caching break counts?
Fully cached HTML may defer increments until a dynamic hit occurs. Use partial caching, AJAX counting where supported, or accept approximate metrics.
Does it work with AMP or mobile apps?
Counting depends on server-side singular requests—validate each distribution channel that might bypass normal WordPress responses.
How do I show “1.2k views” styling?
Format in the theme layer reading the raw integer meta value; the module stores numeric data for you to present.

