PluginProbe
WebberZone Top 10 — Popular Posts / 4.3.3
WebberZone Top 10 — Popular Posts v4.3.3
4.5.2 4.5.1 4.5.0 4.4.3 4.4.2 4.4.1 4.4.0 4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 trunk 1.0 1.0.1 1.1 1.2 1.3 1.4 1.4.1 1.5 1.5.1 1.5.2 1.5.3 1.6 All 118 releases
top-10 / readme.txt

readme.txt in WebberZone Top 10 — Popular Posts 4.3.3, at readme.txt

301 lines 16.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 === WebberZone Top 10 — Popular Posts ===
2 Tags: popular posts, post views, page views, most viewed posts, popular posts widget, trending posts, post views counter, multisite, block, shortcode
3 Contributors: webberzone, ajay
4 Donate link: https://wzn.io/donate-wz
5 Stable tag: 4.3.3
6 Requires at least: 6.6
7 Tested up to: 7.0
8 Requires PHP: 7.4
9 License: GPLv2 or later
10
11 Track post views and page views, and display popular posts and trending content on your WordPress site.
12
13 == Description ==
14
15 WordPress lacks built-in page view tracking or a popular posts feature. [Top 10](https://webberzone.com/plugins/top-10/) solves this by counting views across posts, pages, and custom post types, then letting you showcase your most popular content.
16
17 Top 10 provides blocks, widgets, shortcodes, and template functions for displaying popular posts and view counts across your site. All tracking data is stored locally in your WordPress database, with no external services involved.
18
19 Top 10 includes comprehensive features such as thumbnail support, flexible display options, custom post type support, and developer-friendly extensibility. A built-in caching layer reduces server load, while AJAX-based tracking avoids page cache interference and works with most popular caching plugins.
20
21 Top 10 also exposes a powerful API with WordPress actions and filters, allowing developers to customise queries, tracking behaviour, and output rendering without modifying core plugin files.
22
23 = Features =
24
25 * **Page Counter**: Tracks hourly post views on posts, pages, and custom post types. Display counts automatically using blocks, shortcodes, or template functions
26 * **Popular Posts**: Display most viewed posts by total counts or within custom time periods
27 * **Gutenberg Support**: Dedicated “Popular Posts [Top 10]” block with configurable display options
28 * **Multisite Dashboard**: Network-wide aggregated statistics across all sites in a multisite installation
29 * **Widgets**: Sidebar widgets for daily and overall popular posts with extensive customisation
30 * **Shortcodes**: Use `[tptn_list]` to display popular post lists and `[tptn_views]` to show view counts
31 * **Thumbnails**:
32 * WordPress post thumbnail support with custom `tptn_thumbnail` image size
33 * Automatic extraction of the first image from post content
34 * Manual thumbnail URLs via Edit Post screens
35 * **Exclusions**: Exclude posts by category or post ID from popular post lists
36 * **Styling**: Output wrapped in semantic CSS classes. Add custom CSS via settings or use included styles
37 * **Admin Interface**: View daily and overall popular posts from the dashboard. Adds sortable view-count columns to post and page lists
38 * **Export/Import**: Export count tables and settings, and restore them on the same site or other installs
39 * **Caching Compatibility**: Works with WP Super Cache, W3 Total Cache, Quick Cache, and similar plugins
40 * **Developer-Friendly**: Extensive filters and actions to customise queries, tracking behaviour, and output rendering
41
42 = Features in Top 10 Pro =
43
44 * __Enhanced Tracking and Performance__
45 * __Fast and High-Traffic Trackers__: Alternative tracking methods for improved performance on busy sites
46 * __Query Optimisation__: MySQL `MAX_EXECUTION_TIME` directive to prevent long-running queries, configurable via settings and the `top_ten_query_max_execution_time` filter
47 * __Data Retention Override__: Customizable data retention period (default 180 days via `TOP_TEN_STORE_DATA`)
48
49 * __Advanced Blocks and Widgets__
50 * __Top 10 Query Block__: Query and display popular posts directly from the block or site editor
51 * __Enhanced Top 10 Featured Image Block__: Support for multiple image sources with fallbacks
52 * __Popular Posts Block Enhancements__:
53 * Save and clear default block settings with a single click
54 * Auto-insert default and global settings attributes with an option to disable
55
56 * __Enhanced Admin Tools__
57 * __Admin Bar Integration__: Admin bar menu item to view daily, total, and overall post counts, access admin pages, and clear cache
58 * __Disable Admin Bar menu__: Setting to disable the Admin Bar menu
59 * __Dashboard Access Control__: Setting to control which user roles can view the Top 10 dashboard
60 * __Display Settings__: Setting to choose which post type screens display admin columns
61 * __Mini "Top 10 Views Overview" widget__: Compact views-over-time chart on the WordPress Dashboard
62 * __Multisite Settings Copy__: Tool to copy settings between sites in a multisite network
63
64 * __Custom Display Options__
65 * __Taxonomy-Specific Displays__: `display_only_on_tax_ids` parameter to restrict popular post displays to specific taxonomy terms
66 * __Category Inclusion__: Edit Post meta box option to include popular posts from specific categories
67 * __RSS Feed Filtering__: Filter RSS feeds by category or post type via settings or URL parameters
68
69 * __WP-CLI Integration__
70 * __`wp top10 counts`__: View, get, set, reset, export, and import post view counts from the command line
71 * __`wp top10 db`__: Manage database tables — check status, create, update, recreate, prune old rows, force aggregation, truncate, and clean up orphaned counts
72 * __`wp top10 cache`__: Flush, enable, disable, and check the status of the output cache
73 * __`wp top10 settings`__: Get, set, export, and import plugin settings as JSON
74 * __`wp top10 cron`__: View, enable, disable, and manually trigger the maintenance and aggregation cron jobs
75 * __`wp top10 popular`__: List popular posts with counts using the same query as the front end
76 * __`wp top10 status`__: Print a full plugin status overview
77 * All destructive commands support `--dry-run` and `--force`; multisite commands support `--network` and `--blog-id`
78
79 * __Developer-Friendly Features__
80 * __Custom Post Type Sortable Columns__: Admin columns on supported custom post types with sortable functionality
81
82 = GDPR =
83
84 Top 10 does not collect personal visitor data out of the box. Tracking data is stored locally in the `wp_top_ten` and `wp_top_ten_daily` database tables (table prefix may vary).
85
86 You are responsible for ensuring GDPR compliance on your website.
87
88 = Translations =
89
90 Top 10 is available for translation on [WordPress.org](https://translate.wordpress.org/projects/wp-plugins/top-10).
91 See the [Translator Handbook](https://make.wordpress.org/polyglots/handbook/rosetta/theme-plugin-directories/) to contribute.
92
93 = Contribute =
94
95 Top 10 is developed openly on [GitHub](https://github.com/webberzone/top-10).
96 Fork the project and submit pull requests for bug fixes or improvements. Please do not use GitHub for support requests.
97
98 == Other WebberZone Plugins ==
99
100 * [Contextual Related Posts](https://wordpress.org/plugins/contextual-related-posts/) – Display related posts on your WordPress site and feeds
101 * [Better Search](https://wordpress.org/plugins/better-search/) – Enhance WordPress search with relevance-based results
102 * [Knowledge Base](https://wordpress.org/plugins/knowledgebase/) – Create a knowledge base or FAQ section
103 * [WebberZone Snippetz](https://wordpress.org/plugins/add-to-all/) – Manage custom HTML, CSS, and JavaScript snippets
104 * [Auto-Close](https://wordpress.org/plugins/autoclose/) – Automatically close comments, pingbacks, and trackbacks
105 * [Popular Authors](https://wordpress.org/plugins/popular-authors/) – Display popular authors widgets. Addon for Top 10.
106 * [Followed Posts](https://wordpress.org/plugins/where-did-they-go-from-here/) – Show related posts based on reader journeys
107 * [WebberZone Link Warnings](https://wordpress.org/plugins/webberzone-link-warnings/) – Add accessible warnings for external links and target="_blank" links
108
109 == Screenshots ==
110
111 1. Top 10 – Popular posts overview in the WordPress admin
112 2. Top 10 – Popular posts list with thumbnails
113
114 == Installation ==
115
116 = WordPress install (easy way) =
117 1. Go to Plugins → Add New in your WordPress Admin
118 2. Search for “Top 10”
119 3. Click Install Now and then Activate
120
121 = Manual install =
122 1. Download the `top-10.zip` file
123 2. Go to Plugins → Add New → Upload Plugin
124 3. Upload the ZIP file and click Install Now
125 4. Activate the plugin
126 5. Configure settings under Top 10 → Settings
127
128 = Help and Support =
129 * [Documentation](https://webberzone.com/support/product/top-10/)
130 * [WordPress.org Support Forum](https://wordpress.org/support/plugin/top-10)
131
132 == Frequently Asked Questions ==
133
134 = Where can I get help and support? =
135
136 Before opening a support request, please check the following resources:
137
138 * [FAQ on the WordPress.org plugin page](https://wordpress.org/plugins/top-10/faq/)
139 * [FAQ on the WebberZone knowledge base](https://webberzone.com/support/product/top-10/)
140
141 These cover the most common questions and are the fastest way to get answers, as they are actively maintained.
142
143 If your question is not answered there, please create a new topic in the
144 [WordPress.org support forum](https://wordpress.org/support/plugin/top-10/).
145 This is the preferred support channel for the free plugin, and the forums are monitored regularly.
146
147 Support for products sold and distributed by WebberZone is available **only**
148 to users with an active, valid licence. Licensed users can request support [here](https://webberzone.com/request-support/).
149
150 = Can this plugin replace Google Analytics? =
151
152 No. Top 10 tracks page views and displays popular posts. It is not designed to replace analytics platforms.
153
154 = How does tracking work? =
155
156 Each visit is queued in a lightweight funnel table and aggregated into the count tables every five minutes by a cron job, so tracking never blocks page loads and works correctly behind page caches.
157
158 For a full explanation of tracker types, the funnel flow, and how to adjust the aggregation interval, see [Trackers in Top 10](https://webberzone.com/support/knowledgebase/trackers-in-top-10/).
159
160 = How does scheduled maintenance work? =
161
162 When enabled, Top 10 runs a scheduled task that periodically removes old entries
163 from the `wp_top_ten_daily` table.
164
165 Note: WordPress executes scheduled tasks on the first eligible page load.
166
167 = How can I report security bugs? =
168
169 You can report security bugs through the Patchstack Vulnerability Disclosure Program.
170 The Patchstack team help validate, triage and handle any security vulnerabilities.
171 [Report a security vulnerability.](https://patchstack.com/database/vdp/top-10)
172
173 == Changelog ==
174
175 = 4.3.3 =
176
177 *Release Date - TBD*
178
179 * Features:
180 * New "Tracking method" setting under Settings » Counter/Tracker » Tracker settings: choose between Funnel tracking (default; views are buffered and merged into the count tables every few minutes) and Legacy tracking (views are written directly to the count tables on every visit, as in versions before 4.3). Switch to Legacy tracking if view counts are not updating on your site, e.g. when WP-Cron is disabled or unreliable. Note that Legacy tracking does not populate the visits log table. The Fast and High-traffic trackers respect this setting; regenerate the High-traffic config file after changing it.
181
182 = 4.3.2 =
183
184 *Release Date - 8 July 2026*
185
186 * Improvements:
187 * Dynamic post counts now load more reliably and are faster in modern browsers.
188 * Enhanced time range labeling: Interface now dynamically shows "Daily" for 1-day periods or "Custom (N days)" for longer periods, making the UI more accurate based on actual settings.
189
190 = 4.3.1 =
191
192 *Release Date - 6 June 2026*
193
194 * Improvements:
195 * Aggregation cron now runs every 2 minutes instead of 5 minutes for faster count updates.
196 * Sync Funnel now shows distinct error messages for an empty funnel, a lock conflict, and database failures (including the actual database error).
197 * Dashboard chart now formats large numbers with K/M abbreviations (e.g. 15,437 → 15.4K) and auto-hides overlapping bar labels.
198 * "Recreate Database Tables" in Tools now also recreates the visits funnel and visits log tables.
199 * [Pro] `wp top10 db recreate-tables` now accepts `--table=funnel` and `--table=log` in addition to `overall`, `daily`, and `all`.
200
201 * Fixed:
202 * Sync Funnel on WordPress Playground (SQLite) incorrectly reported "another aggregation is in progress" due to unreliable SQLite detection; the `DATABASE_TYPE` constant is now checked first.
203 * Uninstalling the plugin no longer throws a fatal error when attempting to drop database tables; the path to the uninstaller was resolving one level above the plugin directory.
204 * "Recreate Database Tables" silently left the daily table missing due to a stale static cache in the table-installed check; all four tables are now recreated reliably.
205
206 = 4.3.0 =
207
208 *Release Date - 28 May 2026*
209
210 * [Release announcement](https://webberzone.com/announcements/top-10-v4-3-0/)
211
212 * New:
213 * Buffered visit tracking: page views are queued in a funnel table and aggregated every 5 minutes, reducing write contention on busy sites.
214 * [Pro] RSS/Atom feed views are now counted. Enable under Counter settings > Track feed views.
215 * [Pro] Dashboard At a Glance widget now shows views for the current hour and today.
216 * [Pro] Full `wp top10` WP-CLI suite: counts, database, cache, settings, cron, and popular posts commands. All destructive commands support `--dry-run` and `--force`; multisite commands support `--network` and `--blog-id`.
217
218 * Improvements:
219 * Scheduled maintenance deletes old daily rows in batches to prevent timeouts on large databases.
220 * New index on the daily table speeds up maintenance queries. Apply it to existing installs via Recreate Primary Key under Tools.
221
222 * Fixed:
223 * Cache setting was referencing the wrong key, preventing posts from ever being cached.
224 * Database version was recorded before upgrade routines ran, causing upgrades to be silently skipped on re-activation.
225 * Daily queries now work on MySQL servers with ONLY_FULL_GROUP_BY enabled.
226 * Posts with identical counts now display in a consistent order when paginated.
227 * Daily counts now use the site's configured timezone instead of server time.
228 * Dashboard "Total visits" now matches the chart total rather than summing only the top 20 posts.
229 * Popular posts ordering no longer overridden by Post Types Order and similar plugins.
230 * Deactivation now clears both cron jobs and sets the settings option to not autoload.
231 * Removed incorrect `wpmu_drop_tables` filter that tried to drop network-wide tables on site deletion.
232
233 = 4.2.3 =
234
235 * Security:
236 * Hardened Settings API and metabox output escaping.
237
238 * Improvements:
239 * Updated Freemius SDK to version 2.13.1.
240 * Updated Settings API assets and Tom Select handling.
241 * Refreshed translations and generated assets.
242
243 * Fixes:
244 * Fixed metabox screen handling when `get_current_screen()` is unavailable.
245 * Fixed admin notices package tags.
246
247 = 4.2.2 =
248
249 * Modifications:
250 * Taxonomy Suggest script removed from Settings API. Metabox also uses Tom Select for the lookup of the category field in CRP Pro.
251
252 * Fixes:
253 * CSS improvements for left-thumbs and grid-thumbs styles.
254
255 = 4.2.1 =
256
257 * Security:
258 * Fixed REST API permission checks to prevent unauthorized exposure of post passwords in edit context.
259
260 * Fixes:
261 * Fixed a bug with the "Clear cache" button in the Tools page.
262 * Fixed thumbnail location restrictions to properly support Grid thumbnails style in addition to Left thumbnails.
263 * Improved JavaScript logic for style-based thumbnail location validation with better error handling and fallback mechanisms.
264
265 = 4.2.0 =
266
267 Release post: [https://webberzone.com/announcements/top-10-v4-2-0/](https://webberzone.com/announcements/top-10-v4-2-0/)
268
269 * New:
270 * Settings wizard to guide initial configuration and review existing settings
271 * Network-wide dashboard with aggregated multisite statistics
272 * [Pro] High-traffic tracking mode with status validation panel
273 * [Pro] Copy settings between multisite network sites
274 * [Pro] Compact “Top 10 Views Overview” dashboard widget
275 * [Pro] Option to disable the Admin Bar menu
276 * [Pro] Maintenance setting to override data retention period
277
278 * Improvements:
279 * [Pro] Improved dashboard chart bar click-through to open the Popular Posts screen filtered to that day
280 * Updated Settings API to version 2.7.1
281 * Improved media handler with recursion protection and more robust processing
282 * Media Handler now supports the FIFU WordPress plugin for featured image detection.
283 * Improved Tools page statistics display and caching
284 * Wrapped Import/Export and Tools sections in postbox containers for consistent UI
285
286 * Developer / Internal:
287 * Refactored popular posts queries for improved performance and WordPress VIP compatibility
288 * Updated caching behaviour for dynamic exclusions
289 * Refactored database operations into a dedicated Database class
290 * Updated Freemius SDK to version 2.13.0
291
292 * Fixes:
293 * Fixed `Top_Ten_Query` handling of the `date_query` argument
294 * Fixed activation redirects on single-site installs within multisite networks
295 * Fixed `exclude_current_post` behaviour when caching is enabled
296 * Fixed live-edit count updates in multisite statistics
297
298 == Upgrade Notice ==
299
300 = 4.3.0 =
301 This release introduces buffered visit tracking with a new funnel table. Existing daily-count table indexes are updated automatically for new installs — existing sites should run "Recreate Primary Key" under Tools > Top 10 to apply the performance improvement. Pro users also get feed view tracking and a full WP-CLI command suite.