Elementor addon offering 120+ widgets and templates — Elementor Gallery, Slider, Form, Post Grid, Menu, Accord...
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 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
Where it falls short
WP Most Popular provides a straightforward solution for displaying popular posts, but its age and limited updates may be a concern for some users.
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.
There are two ways in which you can use this plugin.
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:
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>';
?>
Other plugins for content discovery.
Elementor addon offering 120+ widgets and templates — Elementor Gallery, Slider, Form, Post Grid, Menu, Accord...
Elementor templates, Header footer builder, Elementor Post Grid, Woocommerce Grid builder, Slider, Forms, Gall...
Gutenberg block editor with AI. 70+ Gutenberg blocks, patterns, WooCommerce blocks, post grid, gallery, menu w...
Easy to show posts, pages, custom posts in customizable grid, list, slider, accordion... Available as Widgets...
Display WordPress posts in beautiful grid, list, slider, and filter layouts. Works with Gutenberg, Elementor,...
Best Addons for Elementor with 120+ Elementor FREE & Pro Widgets & 1000+ Elementor Templates with Mega...