Overview:
WordPress doesn’t count page views by default. Top 10 will count the number of page views on your single posts on a daily as well as overall basis. You can then display the page view count on individual posts and pages as well as display a list of most popular posts based on page views.
Includes a sidebar widget to display the popular posts. And, all settings can be configured from within your WordPress Admin area itself! You can choose to disable tracking of author visits on their own posts.
Features:
- Counts daily and total page views on single posts and pages
- Display the count on the single posts and pages
- Customize the text that can be displayed
- Display a list of daily and/or overall popular posts by page count. The number can be customized.
- Sidebar widgets available for daily popular and overall popular posts.
- View list of daily and/or overall popular posts from within the dashboard itself
- Clean uninstall if you choose to delete the plugin from within WP-Admin
- Works with caching plugins like WP-Super-Cache
- Supports post thumbnail images
Requirements:
- WordPress 2.5 or above
Installing
- Download Top 10.
- Extract the contents of
top-10.ziptowp-content/plugins/folder. You should get a folder calledtop-10. - Activate the Plugin in WP-Admin.
- Goto Options > Top 10 to configure.
- Goto Appearance > Widgets to add the Daily Popular / Popular Posts sidebar widget to your theme
Options:
Below is the options screen as you would see it when you activate the plugin.
You can customize how the count is displayed. Use %totalcount% to display the total count and %dailycount% to display the daily count.
Enable / disable display of post count in content on single posts and pages. If you don’t enable the first option, then you will need to add <?php if(function_exists('echo_tptn_post_count')) echo_tptn_post_count(); ?>.
In order to display the most popular posts, you will need to add <?php if(function_exists('tptn_show_pop_posts')) tptn_show_pop_posts(); ?>.
In order to display the most popular posts, you will need to add <?php if(function_exists('tptn_show_daily_pop_posts')) tptn_show_daily_pop_posts(); ?>.
Alternatively, use the sidebar widgets to display the overall or daily top posts.
By default the plugin adds a link back to this page in your popular posts lists. You can choose to uncheck that above. However, it would be great if you could give me some linky love.
ChangeLog:
- 1.5.3
- Added: You can now use HTML in the counter display
- 1.5.2
- Fixed: Display of thumbnails using postmeta
- 1.5.1
- Fixed some compatibility issues with WordPress 2.9 and YARPP
- 1.5
- Added support for WordPress 2.9 post thumbnails
- 1.4.1
- Fixed compatibility with WordPress 2.9
- Fixed XHTML validation errors in output code
- Added buttons to reset post count of overall and daily posts
- 1.4
- Added localisation support
- Separate options to display number of views on posts and pages
- 1.3
- “Daily Popular” can now be selected over user selectable number of days
- Option to turn off display of number of pageviews in popular posts list
- Option to make “Daily Popular” list compatible with caching plugins
- Posts > Top 10 page to view detailed list of popular posts
- 1.2
- Do not display Drafts in Related Posts anymore
- Option to disable tracking author visits on their own posts
- Display top posts for the current day
- 1.1
- Added the Popular Posts sidebar widget in your theme.
- Uses JavaScript by default to count. Hence, better support for different caching plugins
- Change format to display count. Now, a single textarea instead of two text boxes.
- Added WordPress 2.7 Dashboard widget to display popular posts on your Dashboard
- 1.0.1 – Release
To Do:
- Popular Posts by Comments
- Comment below and tell me what you would like to see added to this plugin
Support the Development
Writing and testing plugins takes a good amount of time. If you like the plugin and find it useful and would like to donate something for my work please do click the PayPal Donate button below. The payment is secure. I haven’t filled in any amount. Feel free to donate what you please. Any amount is welcome. Thank you
License
All files and their contents are licensed under the GNU General Public License (GPL).
Questions or Bugs
Known Bugs
If you have any questions or would like to report any bugs then please use the support forum.
Languages
The following translations are available:
If you would like to make available a translation for the plugin, please do drop me an email.
Downloads
Download Top 10 v1.5.3
Number of downloads: 11,416
Rating: 4/5
Page on WP Extend
Home







@Raju, You’re welcome. Glad to know you chose this plugin for tracking your posts.
Do, blog and spread the word
Hi there,
Thanks for the plugin! I tried a different one first, which didn’t work with qTranslate (output titles in all languages), but yours works just fine, which is great.
I have one query though – I’m using the widget in my sidebar, but would prefer to only show “Popular Posts” and not “Daily Posts”. Would it be possible to add this functionality to the widget, so that one can tick whether to include one or the other, or both? I can add the PHP code to my sidebar and it works fine, but would be great too control this directly in the widget.
Thanks again!
Sorry, just had another look at the widgets page, and see thre are already two separate ones! Could almost swear I only saw and added one, but I guess I’m dreaming. Either way, all works great, I’m now running just the “popular posts” widget and it works great.
Thanks!
Great
Glad to know the plugin is serving you well…!
When do you plan to publish new version with most popular by comments? I can see you have it on the TO DO list
Thanks for the plugin, I was looking for it a while
Hi Ajay,
Thanks again for the plugin. I was wondering if there are any news on the option to remove either the static page or pages by ID (or both)? That would be a great feature – at the moment, the start page is showing top of my list and it would be better if it wasn’t there! : )
Karl
I plan on providing a simple field that will allow the user to enter a comma separated list of IDs. This IMO, is the fastest implementation of the same. And, you’ll need to only enter this once.
Thanks for the reply! Yes I agree, a comma separated list would be quick and easy to administer, I couldn’t imagine most people wanting to exclude too many pages anyway.
Hey Ajay,
Thanks for the great plugin. However, the counter doesn’t seem to be working which prevents any posts from being displayed in the widget. The widget is enabled and working as I can see the title on the front page.
Would appreciate any help.
Thanks
Great work Ajay!
Just wondered if you knew the quickest way to assign No Follow attritubes to the Top Post links for SEO purposes?
Many thanks
Matt
Hey,
Good job with the plug-in.
How can i add custom fields for daily and total post count? I want topten to work with smart sort, so i can sort posts by view count. It’s possible with wp-postviews, but i hate that thing
Maybe you will add custom field feature into next release?
Thank you for your answer.