{"id":155286,"date":"2022-04-21T02:19:34","date_gmt":"2022-04-21T02:19:34","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/rb-post-views-widget\/"},"modified":"2026-01-30T09:38:14","modified_gmt":"2026-01-30T09:38:14","slug":"rb-post-views-widget","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/rb-post-views-widget\/","author":15623702,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.1","stable_tag":"1.0.1","tested":"6.7.5","requires":"6.4","requires_php":"7.4","requires_plugins":null,"header_name":"RB Post Views Widget","header_author":"Bashir Rased","header_description":"RB Post Views Widget plugin use for your posts visit count.","assets_banners_color":"c1c0c6","last_updated":"2026-01-30 09:38:14","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/bashir-rased.com\/","header_plugin_uri":"https:\/\/github.com\/BashirRased\/wp-plugin-rb-post-views-widget","header_author_uri":"https:\/\/bashir-rased.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1794,"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":"bashirrased2017","date":"2024-04-28 15:20:35"},"1.0.1":{"tag":"1.0.1","author":"bashirrased2017","date":"2026-01-30 09:38:14"}},"upgrade_notice":{"1.0.1":"<p>Recommended update for compatibility with WordPress 6.7, improved performance and optimizations.<\/p>"},"ratings":[],"assets_icons":{"icon.svg":{"filename":"icon.svg","revision":3401955,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3401381,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3401381,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{"blueprint.json":{"filename":"blueprint.json","revision":3450289,"resolution":false,"location":"assets","locale":"","contents":"{\"$schema\":\"https:\\\/\\\/playground.wordpress.net\\\/blueprint-schema.json\",\"preferredVersions\":{\"php\":\"8.2\",\"wp\":\"6.7\"},\"landingPage\":\"\\\/wp-admin\\\/plugins.php\",\"steps\":[{\"step\":\"login\",\"username\":\"admin\"},{\"step\":\"installPlugin\",\"pluginData\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"rb-post-views-widget\"},\"options\":{\"activate\":true}},{\"step\":\"mkdir\",\"path\":\"\\\/wp-content\\\/uploads\"},{\"step\":\"runPHP\",\"code\":\"<?php\\n\\\/\\\/ Create multiple posts with simulated view counts for testing.\\n\\nfunction create_post_with_views($title, $content, $views) {\\n    $post_id = wp_insert_post([\\n        'post_title'   => $title,\\n        'post_content' => $content,\\n        'post_status'  => 'publish',\\n        'post_type'    => 'post'\\n    ]);\\n\\n    if ($post_id) {\\n        update_post_meta($post_id, 'rbpvw_count', $views);\\n    }\\n}\\n\\n\\\/\\\/ Create sample posts\\ncreate_post_with_views('Most Viewed Post', 'This post should appear at the top.', 150);\\ncreate_post_with_views('Medium Views Post', 'This post has a moderate number of views.', 70);\\ncreate_post_with_views('Low Views Post', 'This post has fewer views.', 20);\\ncreate_post_with_views('New Post (0 views)', 'This post has zero views.', 0);\\n\\n\\\/\\\/ Done\\n\"}]}"}},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2712452,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2712452,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Admin dashboard widget output","2":"Frontend display of the most viewed posts"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1086,5990,251353,23753,162],"plugin_category":[43],"plugin_contributors":[226938],"plugin_business_model":[],"class_list":["post-155286","plugin","type-plugin","status-publish","hentry","plugin_tags-popular-posts","plugin_tags-post-views","plugin_tags-post-views-widget","plugin_tags-view-counter","plugin_tags-widget","plugin_category-customization","plugin_contributors-bashirrased2017","plugin_committers-bashirrased2017"],"banners":{"banner":"https:\/\/ps.w.org\/rb-post-views-widget\/assets\/banner-772x250.png?rev=3401381","banner_2x":"https:\/\/ps.w.org\/rb-post-views-widget\/assets\/banner-1544x500.png?rev=3401381","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/rb-post-views-widget\/assets\/icon.svg?rev=3401955","icon":"https:\/\/ps.w.org\/rb-post-views-widget\/assets\/icon.svg?rev=3401955","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/rb-post-views-widget\/assets\/screenshot-1.png?rev=2712452","caption":"Admin dashboard widget output"},{"src":"https:\/\/ps.w.org\/rb-post-views-widget\/assets\/screenshot-2.png?rev=2712452","caption":"Frontend display of the most viewed posts"}],"raw_content":"<!--section=description-->\n<p><strong>RB Post Views Widget<\/strong> is a lightweight and easy-to-use plugin that displays your website\u2019s most viewed posts.<br \/>\nThe plugin counts post views and allows you to show a customizable list of popular posts from any post type.<\/p>\n\n<h3>Features:<\/h3>\n\n<ul>\n<li>Count views for all post types  <\/li>\n<li>Display most viewed posts in a widget  <\/li>\n<li>Simple setup \u2013 no configuration needed  <\/li>\n<li>Works with any theme  <\/li>\n<li>Lightweight and fast<\/li>\n<\/ul>\n\n<!--section=installation-->\n<h3>From your WordPress dashboard:<\/h3>\n\n<ol>\n<li>Go to <strong>Plugins \u2192 Add New<\/strong><\/li>\n<li>Search for <strong>\"RB Post Views Widget\"<\/strong><\/li>\n<li>Click <strong>Install Now<\/strong> and then <strong>Activate<\/strong><\/li>\n<li>Go to <strong>Appearance \u2192 Widgets<\/strong><\/li>\n<li>Locate <strong>RB Post Views Widget<\/strong> in the widget list<\/li>\n<li>Add it to your sidebar or any widget area and <strong>Save<\/strong><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"1.%20do%20i%20need%20any%20additional%20plugins%3F\"><h3>1. Do I need any additional plugins?<\/h3><\/dt>\n<dd><p>No. RB Post Views Widget works independently.<\/p><\/dd>\n<dt id=\"2.%20does%20it%20work%20with%20custom%20post%20types%3F\"><h3>2. Does it work with custom post types?<\/h3><\/dt>\n<dd><p>Yes. It works with all registered post types.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>24.11.2025 \u2013 Updated plugin headers, tested up to WP 6.7, performance improvements<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>21.04.2022 \u2013 Initial release<\/li>\n<\/ul>","raw_excerpt":"Display the most viewed posts on your website using a simple, lightweight widget.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/155286","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=155286"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/bashirrased2017"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=155286"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=155286"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=155286"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=155286"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=155286"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=155286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}