Follow these steps to create an Ajax-based post list with lazy loading on scrolling:
- Log in to Dashboard as an administrator.
- Click on the Ajax Load More menu item from the left menu.
- Click on the Shortcode Builder menu item in the Ajax Load More menu to get a screen similar to the following:
- Set the Images Loaded setting to false.
- Go to the Pause section and keep the Do NOT load any posts until user clicks the Load More button setting as false.
- Go to the Scrolling section and keep Enable Scrolling as true and Scroll Distance as 100. Your screen will look similar to the following:
- Copy the shortcode from the Shortcode ...