Top 10 - Popular Posts plugin for WordPress
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
css
includes
languages
tests
wporg-assets
.codeclimate.yml
.travis.yml
README.md
changelog.txt
default.png
default2.png
index.php
phpcs.ruleset.xml
phpunit.xml
readme.txt
top-10.php
uninstall.php

README.md

WordPress Plugin Version License WordPress Tested Build Status

Top 10 - Popular posts plugin for WordPress

Requires: 4.1

Tested up to: 4.9

License: GPL-2.0+

Plugin page: Top 10 | WordPress.org plugin page

Track daily and total visits on your blog posts. Display the count as well as popular and trending posts.

Description

WordPress doesn't have an in-built system to track page views or displaying popular posts. Top 10 is an easy to use, yet, powerful WordPress plugin that will count the number of page views of your posts, pages and any custom post types. You can then display the page view counts as well as display your most popular posts.

Top 10 adds two widgets that you can use to display a list of popular posts and the counta cross all your blog posts.

Although several similar plugins exist today, Top 10 is one of the most feature-rich popular post plugins with support for thumbnails, shortcodes, widgets, custom post types and CSS styles. The inbuilt caching system also helps reduce server load by caching your popular posts output. The tracking uses ajax and is thus compatible with most popular caching plugins.

Top 10 also has powerful API and is fully extendable with WordPress actions and filters to allow you easily extend the code base to add new features or tweak existing ones.

Features

  • Page counter: Counts page views on single posts, pages and custom post types on an hourly basis which can then be easily displayed automatically, using shortcodes or functions
  • Popular posts: Display a list of popular posts either for total counts or for a custom period. You can choose how many posts are to be displayed along with loads of other customisation options
  • Widget ready: Sidebar widgets available for daily popular and overall popular posts. Highly customizable widgets to control what you want to display in the list of posts
  • Shortcodes: The plugin includes two shortcodes [tptn_list] and [tptn_views] to display the posts list and the number of views respectively
  • Thumbnail support
    • Support for WordPress post thumbnails. Top 10 will create a custom image size (tptn_thumbnail) with the dimensions specified in the Settings page
    • Auto-extract the first image in your post to be displayed as a thumbnail
    • Manually enter the URL of the thumbnail via WordPress meta fields. Specify this using the meta box in your Edit screens.
  • Exclusions: Exclude posts from select categories from appearing in the top posts list. Also exclude posts by ID from appearing in the list
  • Styles: The output is wrapped in CSS classes which allows you to easily style the list. You can enter your custom CSS styles from within WordPress Admin area or use the style included.
  • Admin interface: View list of daily and/or overall popular posts from within the dashboard. Top 10 also adds two sortable columns to your All Posts and All Pages pages in your WordPress Admin area
  • Works with caching plugins like WP-Super-Cache, W3 Total Cache or Quick Cache
  • Extendable code: Top 10 has tonnes of filters and actions that allow any developer to easily add features, edit outputs, etc.

Donations

I spend a significant amount of my free time maintaining, updating and more importantly supporting this plugin. If you have been using this plugin and find this useful, do consider making a donation. This helps me pay for my hosting and domains.

Translations

Top 10 is available for translation directly on WordPress.org. Check out the official Translator Handbook to contribute.

Screenshots

Style Options Top 10 settings page - Styles Options

For more screenshots visit the WordPress plugin page.

Installation

WordPress install (the easy way)

  1. Navigate to Plugins within your WordPress Admin Area

  2. Click "Add new" and in the search box enter "Top 10"

  3. Find the plugin in the list (usually the first result) and click "Install Now"

Manual install

  1. Download the plugin

  2. Extract the contents of top-10.zip to wp-content/plugins/ folder. You should get a folder called top-10.

  3. Activate the Plugin in WP-Admin.

  4. Go to Top 10 to configure

  5. Go to Appearance » Widgets to add the Popular Posts sidebar widget to your theme

  6. Go to Top 10 » View Popular Posts to view the list of popular posts

Frequently Asked Questions

Check out the FAQ on the plugin page and the FAQ on the WebberZone knowledgebase.

If your question isn't listed there, please create a new post at the WordPress.org support forum. It is the fastest way to get support as I monitor the forums regularly. I also provide premium paid support via email.

About this repository

This GitHub repository always holds the latest development version of the plugin. If you're looking for an official WordPress release, you can find this on the WordPress.org repository. In addition to stable releases, latest beta versions are made available under releases.