Descrizione
MNP Newsroom allows you to display trending content on your site using a performance-focused approach.
Instead of querying the main database on every page load, it uses a dedicated lightweight table and the WordPress REST API to serve data asynchronously.
This plugin is designed to minimize server load on high-traffic websites.
Key Features
- Performance: Data is loaded via AJAX (REST API) to avoid caching conflicts.
- Smart Tracking: Visits are counted after a configurable delay (default 3 seconds) to improve accuracy.
- Bot Handling: Logic included to detect common bots and prevent them from inflating view counts.
- Time Ranges: Filter posts by Today (24h), Trending (48h), or Week (7 days).
- Customization: Includes a custom CSS editor and multiple layouts (Image Left, Right, or Text Only).
Screenshot

General settings dashboard with global options and shortcode guide. 
Individual tab configuration (Today/Trending/Weekly) with custom shortcode help. 
Custom CSS editor with live preview support. 
Frontend widget display using the “Image Left” layout and ranking badges. 
Frontend widget display with view counter enabled and “Image Right” layout. 
Real-time integration example using Elementor Theme Builder.
Installazione
- Upload the plugin folder to the
/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Go to Settings > Mis Noticias Top to configure preferences.
- Use the shortcode
[mnpn_populares]in your content.
FAQ
-
I updated from an older version and the widget disappeared.
-
We updated the shortcode prefix for security reasons. Please replace
[mis_populares]with[mnpn_populares]in your widgets or pages.
Recensioni
Non ci sono recensioni per questo plugin.
Contributi e sviluppo
“MNP Newsroom – Popular Posts” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.
CollaboratoriTraduci “MNP Newsroom – Popular Posts” nella tua lingua.
Ti interessa lo sviluppo?
Esplora il codice segui il repository SVN, segui il log delle modifiche tramite RSS.
Changelog
8.0.1
- Fix: Implemented background update routine to ensure seamless database migration for existing users.
8.0
- Major Architecture Upgrade: Implemented a highly scalable dual-table system separating dynamic short-term logs from perpetual historical totals, explicitly designed for high-traffic environments.
- Feature: Added automatic data migration protocol to seamlessly transition legacy view counts into the new historical totals table upon activation.
- Security & Performance: Enforced strict backend validation (7 to 30 days) on automated log cleanup to permanently protect database memory and server load.
- UI: Updated post list admin columns to display perpetual historical views from the new lightweight structure.
7.3.6
- Fix: Corrected logic for rendering view counter badge in frontend based on admin settings.
7.3.5
- Feature: Added customizable cache refresh time (Transients) in global settings.
- UI: Restored tooltip help text for “Max Age” inputs in the admin panel.
- Fix: Removed REST API Nonce verification for public view counting to prevent caching conflicts.
- Fix: Resolved undefined link targeting issues in widget rendering.
7.3.4
- Fix: Resolved Plugin Check warnings regarding timezone functions and direct database queries in the admin panel.
7.3.3
- Upgrade: Added full compatibility support for WordPress 7.0.
- Feature: Added admin columns for today and total views in post list view.
7.3.2
- Minor fix: Adjusted late escaping and remaining constants prefix.
7.3.1
- Security Hardening: Implemented strict Late Escaping (esc_html, esc_attr) on all outputs.
- Refactor: Updated all function prefixes, variables, and database options to
mnpn_(4 chars) to prevent conflicts, per WP.org guidelines. - Shortcode: Changed main shortcode to
[mnpn_populares]. - Database: Updated log table name to comply with new naming conventions.
- Performance: Increased transient cache time to 15 minutes for better scalability.
7.3
- Security: Implemented Nonce verification for REST API endpoints.
- Refactor: Updated asset loading to use WordPress standards (wp_add_inline_style).
- Anti-Bot: Added “Silent Ignore” logic for bots to protect SEO and database integrity.
- Fix: Improved image retrieval logic (checks Thumbnail -> Medium -> Full).
- Feature: Added
offsetparameter to shortcodes. - UX: Added help text for “Max Age” setting (0 for unlimited).
7.2
- Refactored CSS loading to support Roboto Variable font.
- Fixed sidebar visibility issue in specific views.
- Optimized SQL queries for high-traffic sites.
1.0
- Initial release.
