---
title: "How to Add Infinite Scroll for Custom Post Types in Elementor?"
url: https://theplusaddons.com/docs/add-infinite-scroll-for-custom-post-types-in-elementor/
date: 2023-08-28
modified: 2026-04-10
author: "Aditya Sharma"
description: "By adding infinite scrolling to your custom post type you can improve user experience and keep visitors engaged. Infinite scroll is a popular feature that allows users to scroll through..."
image: https://theplusaddons.com/wp-content/uploads/2023/08/How-to-Add-Infinite-Scroll-for-Custom-Post-Types-in-Elementor_-1024x536.jpg
word_count: 419
---

# How to Add Infinite Scroll for Custom Post Types in Elementor?

## Key Takeaways

- Dynamic Listing widget from The Plus Addons for Elementor adds infinite scrolling to custom post types.
- Users can customize loading text and spinner size in the Dynamic Listing widget settings.
- To enable infinite scrolling, the Maximum Posts Display field must be set lower than the total number of custom posts.

By adding infinite scrolling to your custom post type you can improve user experience and keep visitors engaged. Infinite scroll is a popular feature that allows users to scroll through content continuously, without having to manually click through page after page.

With the Dynamic Listing widget from The Plus Addons for Elementor, you can easily add an infinite scrolling feature to your custom post types.

*To check the complete feature overview documentation of The Plus Addons for Elementor Dynamic Listing widget, [click here](/docs/dynamic-listing-widget-settings-overview/).*

***Requirement  - This widget is a part of The Plus Addons for Elementor, make sure its installed & activated to enjoy all its powers.***

[LIVE WIDGET LINK](https://theplusaddons.com/elementor-listing//#dynamic-listing-wgts?utm_source=tpae&utm_medium=docs&utm_campaign=text)

To do this, make sure you have created at least one custom post type, you can use the free[ Advanced Custom Fields (ACF)](https://wordpress.org/plugins/advanced-custom-fields/) to[ create a custom post type](https://www.advancedcustomfields.com/resources/registering-a-custom-post-type/).

For instance, we have created a custom post type called Books.

Once you’ve created your custom post type, follow the steps - 

1. Add the Dynamic Listing widget to the page. 

2. Select the appropriate listing type from the **Post Listing Types** dropdown and select your custom post type from the **Post Type** dropdown then select the appropriate style and layout.

![](https://theplusaddons.com/wp-content/uploads/2023/08/dynamic-listing-cpt-taxonomy-new.png)

> *Note: Lazy load is not available in the ****Single Page Related Posts****, ****ACF Repeater****,**** Custom Query ****type listing and ****Carousel**** layout.*

3. Then go to the **More Post Options** tab and select **Lazy Load** from the **More Post Loading Options **dropdown.

![](https://theplusaddons.com/wp-content/uploads/2023/08/dynamic-listing-cpt-lazy-load-new.png)

From the **Loading Text** field, you can customize the text that appears when more posts are being loaded, while from the **All Posts Loaded Text** field, you can customize the message that appears when all posts have been loaded.

Then from the **More posts on click/scroll** field, you can set how many posts will load at once on scroll.

You can also manage the loading text typography and color.

From the **Loading Spinner** section, you can manage the loading spinner size, color and border size.

4. Now go to the **Content Source** tab and set the maximum number of posts to be displayed on a page in the **Maximum Posts Display** field.

![](https://theplusaddons.com/wp-content/uploads/2023/08/dynamic-listing-maximum-post-display-new.png)

Depending on the number of custom posts you have and the number set in the **Maximum Posts Display** field, you’ll see your custom post types loading automatically as you scroll down.

> *Note: To have infinite scrolling, you must set a lower number in the ****Maximum Posts Display**** field than the total number of custom posts.*

Also, read [How to Delay Loading Custom Post Types in Elementor](https://theplusaddons.com/docs//delay-loading-custom-post-types-in-elementor/).

## Frequently Asked Questions

**Q: What should I do if infinite scroll is not working for my custom post types?**
A: If infinite scroll isn't functioning, ensure that the number set in the Maximum Posts Display field is lower than the total number of custom posts you have. This setting is crucial for enabling the infinite scroll feature. If this condition is not met, the posts won't load automatically as you scroll down, which can lead to confusion about whether the feature is working.

**Q: What is the best practice for setting the Maximum Posts Display for infinite scroll?**
A: For optimal performance with infinite scroll, set the Maximum Posts Display to a number lower than your total custom posts. This ensures that as users scroll, new posts load seamlessly. A common mistake is to set this number too high, which can prevent the infinite scroll from functioning correctly.

**Q: What happens if I set the loading text incorrectly in the Dynamic Listing widget?**
A: If the loading text is not set correctly, users may see a confusing or generic message while new posts are loading. This can detract from the user experience. Customize the Loading Text and All Posts Loaded Text fields to provide clear messages, enhancing the overall engagement with your custom post types.
