How to Add Ajax Load More Button to Search Result in Elementor?

Updated on September 13, 2023 by Ananda
Table Of Content

If you have too many content on your site, loading all content in the search results can take a long time. Using a load more button can greatly improve the search experience by loading a limited number of results and users can click the load more button to load more results.

With the Search Bar widget from The Plus Addons for Elementor, you can easily add a load more button to the Ajax search result. 

To check the complete feature overview documentation of The Plus Addons for Elementor Search Bar widget, click here.

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

To do this, add the Search Bar widget on the page or template and follow the steps –

1. Open the item under Search Bar then select the appropriate source and type for search.

2. Now go to Extra Option tab and make sure the AJAX Search is enabled.

Search bar ajax search

Note: The AJAX Search will be enabled by default.

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

Search bar load more

From the Button Text field, you can change the text on the button, while the Loading Text field allows you to change the text that appears when more items are being loaded. Additionally, you can also modify the text that appears when all items are loaded by using the All Posts Loaded Text field.

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

By turning on the Counter toggle, you can show a counter for the number of pages and from the Counter Text field, you can change the section text.

4. After that go to the Results Area tab, and from the Posts Per Page section, you can set how many items will load in the initial search result.

Search bar posts per page

Depending on the total number of items and the number set in the Posts Per Page field, you’ll see a load more button when you make a search which you can use to load more results.

Note: To show a load more button, you must set a lower number in the Posts Per Page field than the total number of search result items.

Search bar load more demo

Also, read How to Add Ajax Lazy Load to Search Result in Elementor.

Get Free 25+ Secrets to Make Elementor Website Faster [Guaranteed Results]

    Subscribe to our YouTube Channel for Elementor Tutorials
    New Video Every Week!
    Automatically Convert Figma Designs to 100% Editable Elementor Website

    Related Docs