Beginner's Guide for WordPress / Start your WordPress Blog in minutes

How to Display Popular Posts by Day, Week, and Month in WordPress

Do you want to display your most popular posts by day, week, month, and all time in WordPress? Popular posts allow your visitors to quickly discover your top content which helps you increase user engagement and page views. In this article, we will show you how to display popular posts by day, week, month, and all time in WordPress.

Display popular posts by day, week, month, and all time in WordPress

Why Display Popular Posts in WordPress?

When you start a WordPress blog, you don’t have much content, which allows you to manually display selected posts in a sidebar widget.

However as your website grows, you will notice that older articles on your website don’t get much exposure. By showcasing your top content, you allow new users to quickly discover the best articles on your website. This boosts user engagement on your website and increases your page views.

Now the problem is that if you are showing your all time popular articles, then a very limited set of articles get repeated exposure. You can diversify it by displaying popular posts by day, week, or month as well.

Let’s take a look at how to easily display popular posts in WordPress by day, week, month, or all time.

Video Tutorial

Subscribe to WPBeginner

If you don’t want to watch the video tutorial, then you can continue reading the text version below:

Creating Popular Posts By Day, Week, Month, and All Time Widgets

First, you will need to install and activate the WordPress Popular Posts plugin. For more details, see our step by step guide on how to install a WordPress plugin.

WordPress Popular Posts plugin is the best popular posts plugin for WordPress. It offers tons of options like time range, excerpt, featured images, views count, and more.

Upon activation, you need to head over to Appearance » Widgets page to drag and drop the WordPress Popular Posts widget to any sidebar.

Display popular posts for the day

You can name this widget ‘Today’ and under the time range field select last 24 hours. After that you can review other widget options and set them to your liking. Don’t forget to click on the save button to store your widget settings.

Next, you need to add another popular posts widget and name it ‘Week’. In the widget settings, you need to select ‘7 days’ under time range field and then click on the save button.

Repeat the process to add monthly and all time popular posts widgets as well.

All popular posts widgets

Don’t worry about the widget placement at this time because we will adjust them in the next step.

Creating a Tabbed Widget for Popular Posts

In this part of the tutorial, we will create a tabbed widget for our WordPress sidebar. This will allow us to show our popular posts widgets inside a single widget with tabs.

First, you need to install and activate the Ultimate Tabbed Widget plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, head over to Appearance » Widgets page, and you will notice a new widget ready area labeled ‘Default Tabbed Widget Area’.

tabbed widgets area

You will need to move all your popular post widgets into this particular widget area.

Tabbed widget area with all popular posts widgets

Next, you need to locate the ‘Ultimate Tabbed Widgets’ in the available widgets and add it to your website’s sidebar where you want to display popular posts.

Ultimate tabbed widget settings

In the widget settings, provide a title for your popular posts widget. Under widget area field, you need to select ‘Default tabbed widget area’, and select tabs for template field.

Don’t forget to click on the ‘Save’ button to store your changes.

You can now visit your website to see your popular posts widget showing top articles by day, week, month and all time tabs.

Popular posts by day, week, month, and all time

You can rearrange the tab order by simply moving widgets up and down in the ‘Default tabbed widget area’.

We hope this article helped you display popular posts by day, week, month, and all time in WordPress. You may also want to see these actionable tips to drive traffic to your WordPress blog.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit – a collection of WordPress related products and resources that every professional should have!

Reader Interactions

8 CommentsLeave a Reply

  1. Hi and thanks for showing us this possibility. Is it also possible to use for pages? Or only for posts?

  2. You guys have a great, informative site. Thanks!

    This plugin sounds great, however I don’t want a sidebar widget. I just want to have a few buttons at the top of posts page to sort by: hot/trending, new posts Then I will provide a field where they can search by category.

    Any thoughts on a solution for that? ;-)


  3. Thanks for sharing this tip. It help me to display my most popular posts by day, week, month, and all time in my current WordPress theme website.

    With WPbeginner site, I learned a lot about WordPress tips and tricks.

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.