Home

Awesome

WordPress Popular Posts

A highly customizable plugin that displays your most popular posts.


Table of contents

Description

WordPress Popular Posts (from now on, just WPP) is a highly customizable plugin to showcase the most commented / viewed entries on your WordPress powered site.

Features

Looking for a Recent Posts widget just as featured-packed as WordPress Popular Posts? Try Recently!

Requirements

Installation

Automatic installation

  1. Log in into your WordPress dashboard.
  2. Go to Plugins > Add New.
  3. In the "Search Plugins" field, type in WordPress Popular Posts and hit Enter.
  4. Find the plugin in the search results list and click on the "Install Now" button.

Manual installation

  1. Download the plugin and extract its contents.
  2. Upload the wordpress-popular-posts folder to the /wp-content/plugins/ directory.
  3. Activate the WordPress Popular Posts plugin through the "Plugins" menu in WordPress.

Done! What's next?

  1. Please see the Usage section below to learn how to add a popular post list to your site. Once you're done, keep reading.
  2. If you have a caching plugin installed on your site, flush its cache now so WPP can start tracking your site.
  3. If you have a plugin that minifies JavaScript (JS) installed on your site please read this FAQ: Is WordPress Popular Posts compatible with plugins that minify/bundle JavaScript code?
  4. If you have a security / firewall plugin installed on your site, make sure you allow WPP access to the REST API so it can start tracking your site.
  5. Go to Appearance > Editor > Theme File Editor. Under "Theme Files", click on "Theme Header" (header.php) and make sure that the <?php wp_head(); ?> tag is present (it should be somewhere before the closing </head> tag).
  6. (Optional but highly recommended) Are you running a medium/high traffic site? If so, it might be a good idea to check these suggestions to make sure your site's performance stays up to par.

That's it!

Usage

WordPress Popular Posts can be used in three different ways:

  1. If you're using the Block Editor you can insert a WordPress Popular Posts block on your sidebar (eg. via Appearance > Widgets) and even anywhere within your posts and pages.
  2. As a template tag: you can place it anywhere on your theme with wpp_get_mostpopular().
  3. Via shortcode, so you can embed it inside a post or a page.

... and there's even more on the Wiki section, so make sure to stop by!

Support

Before submitting an issue, please:

  1. Read the documentation, it's there for a reason. Links: Requirements | Installation | Wiki | Frequently asked questions.
  2. If it's a bug, please check the issue tracker first make sure no one has reported it already.

When submitting an issue, please make sure to include the following:

  1. WordPress version.
  2. WPP version.
  3. Are you using the block or the shortcode/template tag?
  4. Describe what the issue is (include steps to reproduce it, if necessary).

Contributing

License

GNU General Public License version 2 or later

Copyright (C) 2008-2024 Héctor Cabrera - https://cabrerahector.com

The WordPress Popular Posts plugin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

The WordPress Popular Posts plugin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with the WordPress Popular Posts plugin; if not, see http://www.gnu.org/licenses.