CDW Newsroom – Popular Posts
A lightweight popular posts widget featuring smart tracking, anti-bot logic and REST API data loading.
Not scanned yet
WordPress plugin
Install in
CDW 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).
Written by Joobi from the project's own listing. See the source page
26 Nov 2026
Version 8.1.0 released. Not scanned yet.
8.1.0
- Branding: Unified the commercial plugin name to “CDW Newsroom – Popular Posts” and updated the Settings submenu label and admin heading to “CDW Newsroom”.
- Admin UI: Added a direct “Settings” action link on the Plugins screen via
plugin_action_links_{plugin_basename}. - REST API: Added parameter validation and sanitization schemas (
args) tomnpn/v1endpoints, adoptedWP_REST_Servermethod constants, validated published post IDs on view counting, and included post IDs in/datosJSON payloads. - Compatibility: Updated frontend and admin scripts for jQuery 4 (jQuery Migrate 3.6.0) by replacing
.ready(),.click()event handlers, and.click()triggers withjQuery(function($){}),.on('click', ...), and.trigger('click'). - Compatibility: Confirmed WordPress 7.2 and PHP 8.6 readiness by replacing
current_time( 'timestamp' )withwp_date()andget_post_timestamp(), enforcing strictin_array()checks, and guarding nullable options and request parameters.
8.0.2
- Compatibility: Confirmed full compatibility and testing with WordPress 7.1.
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.
14 Feb 2026Listed on Joobi from WordPress.org.
Follow this listing's changes (Atom feed)