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

How to Add Infinite Scroll to Your WordPress Site (Step by Step)

Do you want to add infinite scroll to your WordPress blog?

Infinite scroll automatically loads the content from your next page, so visitors don’t have to click on pagination links or the load more button at the bottom of the page.

In this article, we will show you how to easily add infinite scroll on your WordPress blog, step by step.

How to Add Infinite Scroll to Your WordPress Site (Step by Step)

Why Add Infinite Scroll to Your WordPress Site?

When visitors scroll through your content, they will eventually come to a set of links at the bottom of the page that allows them to explore newer or older content.

Pagination on a WordPress website

This requires the visitor to click on a link and wait for the next page to load, which isn’t a great user experience.

Instead, you may want to use infinite scroll.

This is a web design trend that uses AJAX page load technology to automatically load the next page of content and show it at the end of the current page. The content loads continuously and infinitely as the user keeps scrolling.

Infinite scroll offers a smoother browsing experience and makes it easier for visitors to explore your content. This can increase your pageviews and reduce your bounce rate.

However, just be aware that some websites are easier to navigate without infinite scroll, such as web directories where each page is a different letter of the alphabet. If you use infinite scroll, then you also can’t show a footer on your WordPress blog.

Infinite scroll can also put your server under pressure. For that reason, we recommend using managed WordPress hosting if you are looking to try infinite scrolling.

With that being said, let’s have a look at how to add infinite scroll to your WordPress site.

Method 1: Adding Infinite Scroll With Catch Infinite Scroll (Recommended Method)

The easiest way to add infinite scrolling to your WordPress website is by using the Catch Infinite Scroll plugin.

The first thing you need to do is install and activate the Catch Infinite Scroll plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

Upon activation, you will see a new menu item labeled ‘Catch Infinite Scroll’ in your WordPress dashboard. Simply give it a click to configure the plugin settings.

Adding infinite scroll to your WordPress website

We want to trigger infinite scroll when the user starts scrolling down the page.

With that in mind, open the ‘Load On’ dropdown and choose ‘Scroll.’

Adding infinite scroll to your WordPress blog

If you choose ‘Click,’ then Catch Infinite Scroll will show a ‘Load More’ button instead.

Next, you can customize the navigation selector, next selector, content selector, and item selector. The default settings work quite well, so you don’t need to make any changes.

The ‘Image’ section shows the content loader icon that Infinite Scroll will show when it’s loading content.

By default, it uses a loader GIF image, but you can change this if you want. Simply click on ‘Upload’ and then either choose an image from the media library or upload a new file.

Creating an infinite scrolling animation

When you are happy with how infinite scrolling is set up, click on the ‘Save Changes’ button to store your changes.

Now, if you visit your blog, then you will see the infinite scrolling in action.

WordPress Infinite Scroll Preview

Method 2: Adding Infinite Scroll With YITH Infinite Scrolling (Easy)

If you are looking for a simple alternative with no settings to configure, then you may want to try YITH Infinite Scrolling.

This plugin works out of the box, so you can simply install and activate it to add infinite scrolling to your WordPress website. For more details, see our step-by-step guide on how to install a WordPress plugin.

Upon activation, you can visit your website to see the new infinite scroll feature in action.

If you want to tweak the infinite scroll, then you will find a few simple settings by going to YITH » Infinite Scrolling in your WordPress dashboard.

The YITH Infinite Scrolling WordPress plugin

Here, you can enable and disable infinite scrolling.

You can also change the image or GIF that YITH shows when it’s loading content. Simply scroll to the ‘Loading Image’ section and then click on ‘Upload.’

How to change the loading icon

Then, either choose an image from the WordPress media library or upload a new file from your computer.

Method 3: Adding Infinite Scroll With Ajax Load More (Advanced)

Ajax Load More has an advanced interface with lots of different options, including a repeater template, shortcode builder, and WordPress queries.

The plugin also offers more customization settings, including many page loading icon styles and button styles.

With that in mind, it has a steeper learning curve and isn’t recommended for beginners. However, it does give more advanced users complete control over their website’s infinite scroll.

For a detailed guide, you can see our tutorial on creating a load more posts button in WordPress using the Ajax Load More plugin.

The AJAX Load More WordPress plugin

We hope this tutorial helped you learn how to add infinite scroll to your WordPress site. You may also want to learn how to increase your blog traffic or check out our expert picks for the must have WordPress plugins to grow your website.

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. Here's our editorial process.

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

18 CommentsLeave a Reply

    • Unless we hear otherwise, the plugin does have an option for loading on pages.


  1. Hi, When using infinite scroll and the user clicks on a post the back button takes them to the top of the list rather than where they were before.
    Is there a fix for this?

    • Not at this time, you would want to reach out to the plugin’s support for the possibility to add that feature in the future.


  2. Hello!

    I want to ask on how can i activate infinite scrolling on my blog page that i created using elementor?

    Thank you.

    • You would want to reach out to elementor’s support for that question as elementor’s settings would be the ones your site follows.


  3. This article is helpful. It’s unclear though how to add content to the scroll. I’d appreciate an explanation.

    • You would want to check with the support for the plugin you are using for if that is an option or if they have a recommended method for setting that up.


  4. Hi, great post as usual! Is there also a solution to implement a sorting by a category or a tag that the user can choose like in the Neil Patel’s blog listing page?! Thank you in advance.

  5. Hi there wpbeginner!

    I would like to add infinite scroll to related products on my woocommerce site, how do we do that ?

  6. Hi

    Thank you for your article and i need to know is it can be use for woocommerce sites?


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.