{"id":281556,"date":"2026-02-14T13:17:06","date_gmt":"2026-02-14T13:17:06","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/newsroom-pro\/"},"modified":"2026-05-23T14:06:33","modified_gmt":"2026-05-23T14:06:33","slug":"mnp-newsroom-popular-posts","status":"publish","type":"plugin","link":"https:\/\/it.wordpress.org\/plugins\/mnp-newsroom-popular-posts\/","author":16935910,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"8.0.1","stable_tag":"8.0.1","tested":"7.0","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"MNP Newsroom - Popular Posts","header_author":"Leonardo Cofano (lcofano)","header_description":"A high-performance, secure, and modern popular posts widget. Features smart caching and anti-bot protection.","assets_banners_color":"494a4a","last_updated":"2026-05-23 14:06:33","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/paypalme\/lcofano","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/mnp-newsroom-popular-posts\/","header_author_uri":"https:\/\/profiles.wordpress.org\/lcofano\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":384,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"7.3.2":{"tag":"7.3.2","author":"lcofano","date":"2026-02-14 13:23:34"},"7.3.3":{"tag":"7.3.3","author":"lcofano","date":"2026-05-20 13:08:42"},"7.3.4":{"tag":"7.3.4","author":"lcofano","date":"2026-05-20 14:36:00"},"7.3.5":{"tag":"7.3.5","author":"lcofano","date":"2026-05-20 18:36:12"},"7.3.6":{"tag":"7.3.6","author":"lcofano","date":"2026-05-21 12:13:54"},"8.0":{"tag":"8.0","author":"lcofano","date":"2026-05-23 13:41:53"},"8.0.1":{"tag":"8.0.1","author":"lcofano","date":"2026-05-23 14:06:33"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":3461404,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3461404,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3461404,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["7.3.2","7.3.3","7.3.4","7.3.5","7.3.6","8.0","8.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":3461404,"resolution":"1","location":"assets","locale":"","width":1103,"height":679},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":3461404,"resolution":"2","location":"assets","locale":"","width":1103,"height":679},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":3461404,"resolution":"3","location":"assets","locale":"","width":1103,"height":679},"screenshot-4.jpg":{"filename":"screenshot-4.jpg","revision":3461404,"resolution":"4","location":"assets","locale":"","width":305,"height":522},"screenshot-5.jpg":{"filename":"screenshot-5.jpg","revision":3461404,"resolution":"5","location":"assets","locale":"","width":324,"height":507},"screenshot-6.jpg":{"filename":"screenshot-6.jpg","revision":3461404,"resolution":"6","location":"assets","locale":"","width":1421,"height":679}},"screenshots":{"1":"General settings dashboard with global options and shortcode guide.","2":"Individual tab configuration (Today\/Trending\/Weekly) with custom shortcode help.","3":"Custom CSS editor with live preview support.","4":"Frontend widget display using the \"Image Left\" layout and ranking badges.","5":"Frontend widget display with view counter enabled and \"Image Right\" layout.","6":"Real-time integration example using Elementor Theme Builder."}},"plugin_section":[],"plugin_tags":[232,247,1086,3580,162],"plugin_category":[36,43,54],"plugin_contributors":[255872],"plugin_business_model":[],"class_list":["post-281556","plugin","type-plugin","status-publish","hentry","plugin_tags-analytics","plugin_tags-performance","plugin_tags-popular-posts","plugin_tags-trending","plugin_tags-widget","plugin_category-analytics","plugin_category-customization","plugin_category-security-and-spam-protection","plugin_contributors-lcofano","plugin_committers-lcofano"],"banners":{"banner":"https:\/\/ps.w.org\/mnp-newsroom-popular-posts\/assets\/banner-772x250.png?rev=3461404","banner_2x":"https:\/\/ps.w.org\/mnp-newsroom-popular-posts\/assets\/banner-1544x500.png?rev=3461404","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/mnp-newsroom-popular-posts\/assets\/icon-256x256.png?rev=3461404","icon_2x":"https:\/\/ps.w.org\/mnp-newsroom-popular-posts\/assets\/icon-256x256.png?rev=3461404","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/mnp-newsroom-popular-posts\/assets\/screenshot-1.jpg?rev=3461404","caption":"General settings dashboard with global options and shortcode guide."},{"src":"https:\/\/ps.w.org\/mnp-newsroom-popular-posts\/assets\/screenshot-2.jpg?rev=3461404","caption":"Individual tab configuration (Today\/Trending\/Weekly) with custom shortcode help."},{"src":"https:\/\/ps.w.org\/mnp-newsroom-popular-posts\/assets\/screenshot-3.jpg?rev=3461404","caption":"Custom CSS editor with live preview support."},{"src":"https:\/\/ps.w.org\/mnp-newsroom-popular-posts\/assets\/screenshot-4.jpg?rev=3461404","caption":"Frontend widget display using the \"Image Left\" layout and ranking badges."},{"src":"https:\/\/ps.w.org\/mnp-newsroom-popular-posts\/assets\/screenshot-5.jpg?rev=3461404","caption":"Frontend widget display with view counter enabled and \"Image Right\" layout."},{"src":"https:\/\/ps.w.org\/mnp-newsroom-popular-posts\/assets\/screenshot-6.jpg?rev=3461404","caption":"Real-time integration example using Elementor Theme Builder."}],"raw_content":"<!--section=description-->\n<p><strong>MNP Newsroom<\/strong> allows you to display trending content on your site using a performance-focused approach.\nInstead of querying the main database on every page load, it uses a dedicated lightweight table and the WordPress REST API to serve data asynchronously.\nThis plugin is designed to minimize server load on high-traffic websites.<\/p>\n\n<h3>Key Features<\/h3>\n\n<ul>\n<li><strong>Performance:<\/strong> Data is loaded via AJAX (REST API) to avoid caching conflicts.<\/li>\n<li><strong>Smart Tracking:<\/strong> Visits are counted after a configurable delay (default 3 seconds) to improve accuracy.<\/li>\n<li><strong>Bot Handling:<\/strong> Logic included to detect common bots and prevent them from inflating view counts.<\/li>\n<li><strong>Time Ranges:<\/strong> Filter posts by Today (24h), Trending (48h), or Week (7 days).<\/li>\n<li><strong>Customization:<\/strong> Includes a custom CSS editor and multiple layouts (Image Left, Right, or Text Only).<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Go to <strong>Settings &gt; Mis Noticias Top<\/strong> to configure preferences.<\/li>\n<li>Use the shortcode <code>[mnpn_populares]<\/code> in your content.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"i%20updated%20from%20an%20older%20version%20and%20the%20widget%20disappeared.\"><h3>I updated from an older version and the widget disappeared.<\/h3><\/dt>\n<dd><p>We updated the shortcode prefix for security reasons. Please replace <code>[mis_populares]<\/code> with <code>[mnpn_populares]<\/code> in your widgets or pages.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>8.0.1<\/h4>\n\n<ul>\n<li>Fix: Implemented background update routine to ensure seamless database migration for existing users.<\/li>\n<\/ul>\n\n<h4>8.0<\/h4>\n\n<ul>\n<li><strong>Major Architecture Upgrade:<\/strong> Implemented a highly scalable dual-table system separating dynamic short-term logs from perpetual historical totals, explicitly designed for high-traffic environments.<\/li>\n<li><strong>Feature:<\/strong> Added automatic data migration protocol to seamlessly transition legacy view counts into the new historical totals table upon activation.<\/li>\n<li><strong>Security &amp; Performance:<\/strong> Enforced strict backend validation (7 to 30 days) on automated log cleanup to permanently protect database memory and server load.<\/li>\n<li><strong>UI:<\/strong> Updated post list admin columns to display perpetual historical views from the new lightweight structure.<\/li>\n<\/ul>\n\n<h4>7.3.6<\/h4>\n\n<ul>\n<li>Fix: Corrected logic for rendering view counter badge in frontend based on admin settings.<\/li>\n<\/ul>\n\n<h4>7.3.5<\/h4>\n\n<ul>\n<li>Feature: Added customizable cache refresh time (Transients) in global settings.<\/li>\n<li>UI: Restored tooltip help text for \"Max Age\" inputs in the admin panel.<\/li>\n<li>Fix: Removed REST API Nonce verification for public view counting to prevent caching conflicts.<\/li>\n<li>Fix: Resolved undefined link targeting issues in widget rendering.<\/li>\n<\/ul>\n\n<h4>7.3.4<\/h4>\n\n<ul>\n<li>Fix: Resolved Plugin Check warnings regarding timezone functions and direct database queries in the admin panel.<\/li>\n<\/ul>\n\n<h4>7.3.3<\/h4>\n\n<ul>\n<li>Upgrade: Added full compatibility support for WordPress 7.0.<\/li>\n<li>Feature: Added admin columns for today and total views in post list view.<\/li>\n<\/ul>\n\n<h4>7.3.2<\/h4>\n\n<ul>\n<li>Minor fix: Adjusted late escaping and remaining constants prefix.<\/li>\n<\/ul>\n\n<h4>7.3.1<\/h4>\n\n<ul>\n<li><strong>Security Hardening:<\/strong> Implemented strict Late Escaping (esc_html, esc_attr) on all outputs.<\/li>\n<li><strong>Refactor:<\/strong> Updated all function prefixes, variables, and database options to <code>mnpn_<\/code> (4 chars) to prevent conflicts, per WP.org guidelines.<\/li>\n<li><strong>Shortcode:<\/strong> Changed main shortcode to <code>[mnpn_populares]<\/code>.<\/li>\n<li><strong>Database:<\/strong> Updated log table name to comply with new naming conventions.<\/li>\n<li><strong>Performance:<\/strong> Increased transient cache time to 15 minutes for better scalability.<\/li>\n<\/ul>\n\n<h4>7.3<\/h4>\n\n<ul>\n<li><strong>Security:<\/strong> Implemented Nonce verification for REST API endpoints.<\/li>\n<li><strong>Refactor:<\/strong> Updated asset loading to use WordPress standards (wp_add_inline_style).<\/li>\n<li><strong>Anti-Bot:<\/strong> Added \"Silent Ignore\" logic for bots to protect SEO and database integrity.<\/li>\n<li><strong>Fix:<\/strong> Improved image retrieval logic (checks Thumbnail -&gt; Medium -&gt; Full).<\/li>\n<li><strong>Feature:<\/strong> Added <code>offset<\/code> parameter to shortcodes.<\/li>\n<li><strong>UX:<\/strong> Added help text for \"Max Age\" setting (0 for unlimited).<\/li>\n<\/ul>\n\n<h4>7.2<\/h4>\n\n<ul>\n<li>Refactored CSS loading to support Roboto Variable font.<\/li>\n<li>Fixed sidebar visibility issue in specific views.<\/li>\n<li>Optimized SQL queries for high-traffic sites.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"A lightweight popular posts widget featuring smart tracking, anti-bot logic and REST API data loading.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/281556","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=281556"}],"author":[{"embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/lcofano"}],"wp:attachment":[{"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=281556"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=281556"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=281556"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=281556"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=281556"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=281556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}