WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by MattGeri v0.3.1

WP Most Popular

WP Most Popular is a simple plugin which tracks your most popular blog posts based on views and lets you display them in your theme or blog sidebar.

WP Most Popular

The facts

Rating
4.9★ from 11
Active installs
2k+
Price
Free
Last updated
7 Aug 2018
Added
Jan 2012
Requires WP
3.0
Tested up to
WP 4.9.31
Requires PHP
5.2.4
Downloads
82,034

Our analysis

AI-assisted

WP Most Popular is a WordPress plugin designed to track and display your most popular blog posts based on views. You can show posts from various time frames, including the last day, week, month, or all time. The plugin offers a sidebar widget for easy integration and can also be used with custom functions in theme files for more advanced users.

Developers can leverage the plugin's flexibility by using the main function, `wp_most_popular_get_popular()`, to fetch and display popular posts according to specified parameters. This makes it suitable for both casual users and developers looking to enhance their blog's content discovery.

Best for: This plugin suits bloggers and developers looking to showcase popular content on their WordPress sites.

What it does well

  • Tracks and displays popular posts based on views
  • Offers a sidebar widget for easy use
  • Customisable for developers with specific parameters

Where it falls short

  • Limited information on additional features or support
  • Last updated in August 2018, may not be compatible with newer WordPress versions

Verdict

WP Most Popular provides a straightforward solution for displaying popular posts, but its age and limited updates may be a concern for some users.

From the developer

MattGeri's own description of WP Most Popular, lightly tidied.

WP Most Popular was born out of frustration in finding a decent plugin which performs one simple task and that is to rank your most popular blog posts.

The plugin keeps a log of your most popular posts based on views and lets you display them in your blog theme with custom styling. You can display popular posts from the last day, 7 days, 30 days or all time.

It also comes with a sidebar widget to let you display your popular posts on your blogs sidebar.

If you are a developer and integrate the plugin in to a theme, you will get a lot more flexibility out of the plugin including the ability to show the most popular custom post types etc.

This plugin was built and is maintained by WP Geeks. For extra documentation, videos, snippets and support, visit the WP Most Popular product page.

Usage

There are two ways in which you can use this plugin.

  1. As a sidebar widget
  2. Custom function in your theme files

Using the widget is the easiest way and recommended for most users. If you are a developer and want to integrate the plugin in to your existing theme, then read the information below.

Firstly, the main function which you will need to include in your theme to fetch the popular posts is called wp_most_popular_get_popular().

You can pass that function the following parameters in array form:

  • limit (integer)
    • The number of posts you would like to display i.e. 5
    • Default: 5
    • The post type you would like to display
    • Example: post
    • Default: All post types
    • In what date range would you like to display popular posts in
    • Accepted: all_time, monthly, weekly, daily
    • Default: all_time

    Those are the current parameters that the plugin supports. Let’s look at an example of how to display the most recent popular posts in a unordered list.

    <?php
    echo '<ul>';
    $posts = wp_most_popular_get_popular( array( 'limit' => 10, 'post_type' => 'post', 'range' => 'all_time' ) );
    global $post;
    if ( count( $posts ) > 0 ): foreach ( $posts as $post ):
        setup_postdata( $post );
        ?>
        <li><a href="<?php the_permalink() ?>" title="<?php echo esc_attr(get_the_title() ? get_the_title() : get_the_ID()); ?>"><?php if ( get_the_title() ) the_title(); else the_ID(); ?></a></li>
        <?php
    endforeach; endif;
    echo '</ul>';
    ?>
    

    Read the full description on the official page →

Tagged as

Alternatives

Other plugins for content discovery.

Essential Addons for Elementor

Elementor addon offering 120+ widgets and templates — Elementor Gallery, Slider, Form, Post Grid, Menu, Accord...

Free 1M+ installs 4.9★ (4,111)
Royal Addons for Elementor

Elementor templates, Header footer builder, Elementor Post Grid, Woocommerce Grid builder, Slider, Forms, Gall...

Free 600k+ installs 4.8★ (611)
Gutenberg Essential Blocks

Gutenberg block editor with AI. 70+ Gutenberg blocks, patterns, WooCommerce blocks, post grid, gallery, menu w...

Free 200k+ installs 4.9★ (213)
Content Views

Easy to show posts, pages, custom posts in customizable grid, list, slider, accordion... Available as Widgets...

Free 100k+ installs 4.8★ (333)
The Post Grid

Display WordPress posts in beautiful grid, list, slider, and filter layouts. Works with Gutenberg, Elementor,...

Free 100k+ installs 4.8★ (265)
The Plus Addons for Elementor

Best Addons for Elementor with 120+ Elementor FREE &amp; Pro Widgets &amp; 1000+ Elementor Templates with Mega...

Free 100k+ installs 4.6★ (387)