{"id":249624,"date":"2025-09-04T08:10:29","date_gmt":"2025-09-04T08:10:29","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/simple-post-view-counter\/"},"modified":"2025-09-14T09:25:58","modified_gmt":"2025-09-14T09:25:58","slug":"simple-post-view-counter","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/simple-post-view-counter\/","author":23162908,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.1","stable_tag":"1.0.0","tested":"6.8.5","requires":"6.7","requires_php":"","requires_plugins":null,"header_name":"Simple Post View Counter \u2013 Clean & Fast Post View Analytics","header_author":"Sadhan Pal","header_description":"Lightweight post view counter with a widget to show \"Most Viewed Posts.\" Track post views automatically and display popular content easily.","assets_banners_color":"92cfd3","last_updated":"2025-09-14 09:25:58","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/buymeacoffee.com\/sadhan","header_plugin_uri":"","header_author_uri":"https:\/\/bloggingfoundation.com","rating":0,"author_block_rating":0,"active_installs":20,"downloads":965,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"sadhanpal","date":"2025-09-14 09:25:58"}},"upgrade_notice":{"1.0.0":"<p>First stable release \u2013 recommended update for all users.<\/p>"},"ratings":[],"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":3355869,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":3355869,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.PNG":{"filename":"screenshot-1.PNG","revision":3355869,"resolution":"1","location":"assets","locale":""},"screenshot-2.PNG":{"filename":"screenshot-2.PNG","revision":3355869,"resolution":"2","location":"assets","locale":""},"screenshot-3.PNG":{"filename":"screenshot-3.PNG","revision":3355869,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"screenshot-1.png","2":"screenshot-2.png","3":"screenshot-3.png"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[15940,1086,25803,5990,23753],"plugin_category":[],"plugin_contributors":[236870],"plugin_business_model":[],"class_list":["post-249624","plugin","type-plugin","status-publish","hentry","plugin_tags-most-viewed-posts","plugin_tags-popular-posts","plugin_tags-post-counter","plugin_tags-post-views","plugin_tags-view-counter","plugin_contributors-sadhanpal","plugin_committers-sadhanpal"],"banners":{"banner":"https:\/\/ps.w.org\/simple-post-view-counter\/assets\/banner-772x250.png?rev=3355869","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/simple-post-view-counter\/assets\/icon-256x256.png?rev=3355869","icon_2x":"https:\/\/ps.w.org\/simple-post-view-counter\/assets\/icon-256x256.png?rev=3355869","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/simple-post-view-counter\/assets\/screenshot-1.PNG?rev=3355869","caption":"screenshot-1.png"},{"src":"https:\/\/ps.w.org\/simple-post-view-counter\/assets\/screenshot-2.PNG?rev=3355869","caption":"screenshot-2.png"},{"src":"https:\/\/ps.w.org\/simple-post-view-counter\/assets\/screenshot-3.PNG?rev=3355869","caption":"screenshot-3.png"}],"raw_content":"<!--section=description-->\n<p><strong>Simple Post View Counter<\/strong> is a lightweight yet powerful plugin to track how many times your WordPress posts are viewed.<\/p>\n\n<h3>Key Features<\/h3>\n\n<ul>\n<li>\u2705 Automatic post view tracking (AJAX-based, works even in incognito mode)<\/li>\n<li>\u2705 Prevents double-counting on refresh<\/li>\n<li>\u2705 Built-in bot detection<\/li>\n<li>\u2705 Display views before content, after content, beside meta, or manually<\/li>\n<li>\u2705 \"Most Viewed Posts\" widget with customizable display<\/li>\n<li>\u2705 Shortcodes for displaying most viewed posts and individual post views<\/li>\n<li>\u2705 Admin settings page with statistics (total views, average views, top posts, etc.)<\/li>\n<li>\u2705 Views column in admin post list (sortable by views)<\/li>\n<li>\u2705 Exclude admin views from tracking<\/li>\n<li>\u2705 Works with caching plugins<\/li>\n<\/ul>\n\n<h3>Shortcodes<\/h3>\n\n<ul>\n<li><code>[post_views]<\/code> \u2192 Display view count for current post<br \/>\nOptions: <code>post_id<\/code>, <code>format=\"%s views\"<\/code><\/li>\n<li><code>[most_viewed_posts]<\/code> \u2192 Display a list of most viewed posts<br \/>\nOptions: <code>limit=\"5\"<\/code>, <code>show_count=\"yes\"<\/code>, <code>show_excerpt=\"no\"<\/code><\/li>\n<\/ul>\n\n<h3>Example Usage<\/h3>\n\n<ul>\n<li><code>[most_viewed_posts]<\/code> \u2192 Show top 5 posts<\/li>\n<li><code>[most_viewed_posts limit=\"10\" show_count=\"yes\"]<\/code> \u2192 Show 10 posts with view counts<\/li>\n<li><code>[post_views]<\/code> \u2192 Show current post\u2019s view count<\/li>\n<\/ul>\n\n<h3>Widgets<\/h3>\n\n<p>Go to <strong>Appearance \u2192 Widgets<\/strong> and add the <strong>Most Viewed Posts<\/strong> widget to your sidebar.<\/p>\n\n<h3>Video Tutorial<\/h3>\n\n<p>[youtube https:\/\/www.youtube.com\/watch?v=10d_wyQn-Lk&amp;pp=0gcJCckJAYcqIYzv]<\/p>\n\n<h3>Theme Function<\/h3>\n\n<pre><code>`php\n<\/code><\/pre>\n\n\n\n<h3>Credits<\/h3>\n\n<p>Developed by Sadhan Pal<\/p>\n\n<h3>License<\/h3>\n\n<p>This plugin is free software: you can redistribute it and\/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.<\/p>\n\n<!--section=installation-->\n<p>Upload the plugin files to the \/wp-content\/plugins\/simple-post-view-counter\/ directory, or install the plugin via the WordPress plugins screen directly.<\/p>\n\n<p>Activate the plugin through the Plugins screen in WordPress.<\/p>\n\n<p>Go to Settings \u2192 Post Views to configure options.<\/p>\n\n<p>Add the Most Viewed Posts widget, use shortcodes, or call the function in your theme.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='does%20it%20work%20with%20caching%20plugins%3F'><h3>Does it work with caching plugins?<\/h3><\/dt>\n<dd><p>Yes, view counting is AJAX-based, so it works properly with caching.<\/p><\/dd>\n<dt id='will%20it%20count%20admin%20views%3F'><h3>Will it count admin views?<\/h3><\/dt>\n<dd><p>By default, admin views are excluded (you can enable\/disable this in settings).<\/p><\/dd>\n<dt id='can%20i%20show%20the%20view%20counter%20anywhere%20manually%3F'><h3>Can I show the view counter anywhere manually?<\/h3><\/dt>\n<dd><p>Yes, use the [post_views] shortcode or the spvc_get_post_views() function in your theme.<\/p><\/dd>\n<dt id='does%20it%20prevent%20bots%20from%20inflating%20the%20count%3F'><h3>Does it prevent bots from inflating the count?<\/h3><\/dt>\n<dd><p>Yes, it includes basic bot detection and ignores common crawlers.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<p>Initial release<\/p>\n\n<p>Automatic view tracking<\/p>\n\n<p>Shortcodes [post_views] and [most_viewed_posts]<\/p>\n\n<p>Widget for most viewed posts<\/p>\n\n<p>Admin settings page with statistics<\/p>\n\n<p>Prevents double counting on refresh<\/p>\n\n<p>Works in incognito\/private mode<\/p>\n\n<p>Basic bot detection<\/p>","raw_excerpt":"Lightweight post view counter with a widget and shortcodes. Track post views automatically, stop double-counting, and display popular content easily.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/249624","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=249624"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sadhanpal"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=249624"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=249624"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=249624"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=249624"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=249624"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=249624"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}