Docs    Instagram

Setting Up the Load More Button and Infinite Scroll

Would you like your visitors to see more of your Instagram posts with one click, or as they scroll down the page?

In this guide, we’ll walk you through the Load More button in Instagram Feed. We’ll cover how to turn it on, change its text and colors, and set how many posts each click adds. We’ll also turn on Infinite Scroll, which loads more posts by itself as visitors scroll.

Requirements: The Load More button is part of both the free Instagram Feed plugin and Instagram Feed Pro. Infinite Scroll needs Instagram Feed Pro with an active license, at any license level.

Before you get started, make sure Instagram Feed is installed and activated on your WordPress site.

Your feed first shows a set number of posts. When a visitor clicks Load More, the next posts appear below the ones already showing. Once every post has loaded, the button goes away.

A new feed made from the Default template already has the button turned on.

Here’s what we’ll cover.

Changing the Load More Button

To get started, we’ll open your feed in the feed editor.

From your WordPress admin sidebar, go to Instagram Feed » All Feeds.

The Instagram Feed menu in the WordPress dashboard, outlined in red, with All Feeds highlighted

Next, click the name of the feed you want to change. The feed opens in the feed editor.

The All Feeds page with an arrow pointing at a feed's name

From the list of sections in the Customize tab, click Load More Button.

The list of sections in the Customize tab of the feed editor with an arrow pointing at Load More Button

The Load More Button section holds most of the button’s settings. To show the button on your feed, the Enable switch must be turned on.

The Load More Button section with an arrow pointing at the Enable switch, above the Text, Color, and Infinite Scroll settings

While Enable is on, the section shows these settings.

  • Text is the label on the button. The default is Load More.
  • Background, under Color, is the color of the button.
  • Hover State is the color of the button while a visitor’s pointer is over it.
  • Text, under Color, is the color of the button’s label.
  • Infinite Scroll loads more posts as visitors scroll. We’ll cover it in the next section.

Turning Enable off hides the button and the rest of these settings.

Next, we’ll turn on Infinite Scroll.

Turning On Infinite Scroll

By default, Infinite Scroll is off. Visitors choose when to load more posts by clicking the button.

When you turn it on, they don’t need to click. As a visitor scrolls down to the bottom of the page, the next posts load by themselves.

Turn it on if you want visitors to keep browsing your posts without stopping to click. If you’re not sure, leave it off.

To turn it on, click the Infinite Scroll switch in the Load More Button section.

The Color and Infinite Scroll settings in the Load More Button section, with an arrow pointing at Infinite Scroll, switched on

Here’s how Infinite Scroll works on your site.

  • Each time it loads, it adds the same number of posts as a click on the button.
  • The Load More button still shows, so visitors can also click it.
  • Posts load when the visitor nears the bottom of the whole page, not the end of the feed. If your page has other content below the feed, visitors reach that content first.
  • If you set a Feed Height in the Feed Layout section, the feed scrolls in its own box. Posts then load when the visitor nears the bottom of that box.
  • Once every post has loaded, the button goes away and no more posts load.

Next, we’ll set how many posts each click adds.

Setting How Many Posts Each Click Adds

The number of posts each click adds is set in the Feed Layout section, not in the Load More Button section.

To go back to the list of sections, click Customize at the top of the sidebar.

The top of the Load More Button section with an arrow pointing at the Customize link

Then, click Feed Layout.

The list of sections in the Customize tab with an arrow pointing at Feed Layout

Under Number of Posts, type the number you want in Desktop.

The Number of Posts setting in Feed Layout with an arrow pointing at the Desktop field, above the Mobile field

Number of Posts has two fields.

  • Desktop is how many posts the feed shows first on screens 480 pixels wide or wider. It’s also how many posts each click on Load More adds, on every screen size.
  • Mobile is how many posts the feed shows first on screens narrower than 480 pixels. On those screens, the first click also shows the posts the Mobile number held back.

For example, a new feed made from the Default template shows eight posts on desktop and four on phones. Each click then adds eight more.

On a phone, the first click also shows the four held back. One click takes the feed from four posts to 16.

Once your numbers are set, we’ll save the feed.

Saving Your Changes

When you’re done, click Save at the top of the feed editor.

The top of the feed editor with an arrow pointing at the Save button

Your changes are now saved. Next, we’ll check the button on your site.

Seeing the Load More Button on Your Site

Now, open a page that shows your feed. The Load More button appears below your posts. To see the next posts, click Load More.

An Instagram feed on a web page with an arrow pointing at the Load More button below the posts

The next posts appear below the ones already showing.

The same Instagram feed after one click on Load More, with two new rows of posts below the first ones and the Load More button still at the bottom

When every post in your feed has loaded, the button goes away.

That’s it! You now know how to set up the Load More button and Infinite Scroll in your Instagram feed. Next, see how to make a page with your feed load faster.

Frequently Asked Questions

Below, we’ve answered some of the most common questions about the Load More button and Infinite Scroll.

Why don’t I see a Load More button on my feed?

The button shows when Enable is on in the Load More Button section and your feed has more posts to load. Feeds made from the Simple Row and Single Post templates start with Enable off. To show the button on one of them, turn Enable on in the Load More Button section. A feed with the Carousel layout lets visitors move through its posts in the carousel instead. To use the button with it, choose Grid, Masonry, or Highlight under Layout in the Feed Layout section.

Why doesn’t Load More add any posts to my feed?

The button asks your site for the next posts through a WordPress file called admin-ajax.php. If a security plugin or firewall blocks that request, no new posts appear. To fix it, see our guide on admin-ajax requests that aren’t working.

Does the Load More button still show when I turn on Infinite Scroll?

Yes. See the Turning On Infinite Scroll section above.

How many posts does Infinite Scroll load on my feed at a time?

The same number as a click on Load More. That’s the Desktop number under Number of Posts in the Feed Layout section.

Can I use Infinite Scroll in the free Instagram Feed plugin?

Infinite Scroll comes with Instagram Feed Pro, at any license level. With the free plugin, visitors load more posts with the Load More button. To compare the two, see the differences between the free plugin and Instagram Feed Pro.

support

Couldn’t find your answer in the docs?

Contact Support