Ajax Load More for Relevanssi
Ajax Load More for Relevanssi
Description
Ajax Load More for Relevanssi is a tiny extension that provides the functionality for returning Relevanssi query results to Ajax Load More for infinite scrolling.
The extension works by providing a connection point between Ajax Load More and Relevanssi and is available for users running at least Ajax Load More 2.13.0.
Implementation Steps
- Activate plugin.
- Create Ajax Load More shortcode with a unique ID parameter.
- Add custom
alm_query_argsfilter to your theme functions.php – Learn More.
Installation
Uploading in WordPress Dashboard
- Navigate to the ‘Add New’ in the plugins dashboard
- Navigate to the ‘Upload’ area
- Select
ajax-load-more-for-relevanssi.zipfrom your computer - Click ‘Install Now’
- Activate the plugin in the Plugin dashboard
Using FTP
- Download
ajax-load-more-relevanssi.zip. - Extract the
ajax-load-more-for-relevanssidirectory to your computer. - Upload the
ajax-load-more-for-relevanssidirectory to the/wp-content/plugins/directory. - Ensure Ajax Load More is installed prior to activating the plugin.
- Activate the plugin in the WP plugin dashboard.
Faq
This extensions works by using the alm_query_args filter to pass values to the Relevanssi query and then back to Ajax Load More.
You can pass search term to your Ajax Load More shortcode. [ajax_load_more search=”My Search Query” id=”relevanssi”]
In your Ajax Load More Repeater Template you can do the following using the relevanssi_do_excerpt function.
global $post;
echo relevanssi_do_excerpt( $post, $args[‘search’] );
Reviews
Changelog
1.0.4 – June 5, 2025
- NEW: Adding Ajax Load More as a required plugin.
- UPDATE: Code cleanup, readme and WP tested version.
1.0.3 – November 11, 2024
- UPDATE: Readme, contributors, WordPress tested version
1.0.2 – April 17, 2021
- UPDATE – Added support for highlighting the search term in Relevannsi post excerpts with Ajax Load More. See plugin FAQs for details.
= 1.0.1 – December 18, 2019=
* NEW – Added support for core Relevanssi filter relevanssi_modify_wp_query
1.0
- Initial Release.