WordPress plugin
Top 10 Pro
Top 10 Pro tracks hourly views for posts, pages, and custom post types, storing the data in the WordPress database without external services. Site-wide tracking can also cover the front page, posts page, archives, and searches. Dashboard views show daily and overall popular posts, while sortable columns can show view counts in post and page lists.
What the view counts display
Top 10 Pro tracks hourly views for posts, pages, and custom post types, storing the data in the WordPress database without external services. Site-wide tracking can also cover the front page, posts page, archives, and searches. Dashboard views show daily and overall popular posts, while sortable columns can show view counts in post and page lists.
When building a popular-post query, use total counts or select a custom time period. That lets you review overall popularity or see which content drew attention during a selected period. Alternative tracking methods are available for fast and high-traffic sites.
Query, retention, and page caching
Query optimization includes the MySQL MAX_EXECUTION_TIME directive. Configure it in options or with the top_ten_query_max_execution_time filter. Data retention is configurable; the supplied default is 180 days, and the TOP_TEN_STORE_DATA setting can override it.
Lazy loading can render popular-post lists with JavaScript as they approach the viewport. This lets full-page caching plugins serve pages without embedding a live popular-posts query. Lazy loading works with content, shortcodes, widgets, and the Popular Posts block. Disable it for an individual instance with the lazy_load shortcode or block attribute.
Build and place popular-content lists
The Popular Posts block has configurable display options. The Top 10 Query block lets you query and display popular posts from the block or website editor. The enhanced Top 10 Featured Image block works with multiple picture sources with fallbacks. For Popular Posts block defaults, you can save or clear settings with one click and insert default and global settings automatically.
Widgets can show daily and overall popular posts with extensive customization. Use [tptn_list] for popular-post lists and [tptn_views] for view counts. Template functions provide another way to add output to theme templates.
Images, exclusions, and data utilities
- Choose thumbnails from WordPress post thumbnails, the first image in content, or manual thumbnail URLs.
- Exclude posts by category or post ID, and apply custom CSS through settings or included styles.
- Export and import count tables and settings to restore them on the same website or other installs.
Administration and customization
Install and activate Top 10 Pro in WordPress, then manage tracking, display, retention, and performance settings in the add-on administration interface. Multisite dashboards can show aggregated network-wide statistics. WordPress actions and filters let developers customize queries, tracking behavior, and output rendering.