{"id":52474,"date":"2016-12-01T19:03:34","date_gmt":"2016-12-01T19:03:34","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/ajax-load-more-for-relevanssi\/"},"modified":"2025-06-05T19:07:32","modified_gmt":"2025-06-05T19:07:32","slug":"ajax-load-more-for-relevanssi","status":"publish","type":"plugin","link":"https:\/\/ug.wordpress.org\/plugins\/ajax-load-more-for-relevanssi\/","author":7277085,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.4","stable_tag":"1.0.4","tested":"6.8.5","requires":"5.0","requires_php":"","requires_plugins":null,"header_name":"Ajax Load More for Relevanssi","header_author":"Darren Cooney","header_description":"","assets_banners_color":"cc8c8a","last_updated":"2025-06-05 19:07:32","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/connekthq.com\/donate\/","header_plugin_uri":"http:\/\/connekthq.com\/plugins\/ajax-load-more\/extensions\/relevanssi\/","header_author_uri":"https:\/\/connekthq.com","rating":3.5,"author_block_rating":0,"active_installs":500,"downloads":10782,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.2":{"tag":"1.0.2","author":"dcooney","date":"2022-12-30 20:04:53"},"1.0.3":{"tag":"1.0.3","author":"dcooney","date":"2024-12-05 13:46:49"},"1.0.4":{"tag":"1.0.4","author":"dcooney","date":"2025-06-05 19:07:32"}},"upgrade_notice":{"":"<ul>\n<li>None<\/li>\n<\/ul>"},"ratings":{"1":0,"2":1,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2848158,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":2848162,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.2","1.0.3","1.0.4"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[57639,2109,2236,25244,944],"plugin_category":[],"plugin_contributors":[139331,78879],"plugin_business_model":[],"class_list":["post-52474","plugin","type-plugin","status-publish","hentry","plugin_tags-ajax-load-more","plugin_tags-ajax-search","plugin_tags-filter","plugin_tags-relevanssi","plugin_tags-search","plugin_contributors-connekthq","plugin_contributors-dcooney","plugin_committers-dcooney","plugin_committers-edanzer"],"banners":{"banner":"https:\/\/ps.w.org\/ajax-load-more-for-relevanssi\/assets\/banner-772x250.jpg?rev=2848162","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/ajax-load-more-for-relevanssi\/assets\/icon-128x128.png?rev=2848158","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>Ajax Load More for Relevanssi<\/strong> is a tiny extension that provides the functionality for returning <a href=\"https:\/\/en-ca.wordpress.org\/plugins\/relevanssi\/\">Relevanssi<\/a> query results to <a href=\"https:\/\/wordpress.org\/plugins\/ajax-load-more\/\">Ajax Load More<\/a> for infinite scrolling.<\/p>\n\n<p>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.<\/p>\n\n<h4>Implementation Steps<\/h4>\n\n<ol>\n<li>Activate plugin.<\/li>\n<li>Create Ajax Load More shortcode with a unique ID parameter.<\/li>\n<li>Add custom <code>alm_query_args<\/code> filter to your theme functions.php - <a href=\"https:\/\/connekthq.com\/plugins\/ajax-load-more\/extensions\/relevanssi\/#how-it-works\">Learn More<\/a>.<\/li>\n<\/ol>\n\n<p><strong><a href=\"https:\/\/connekthq.com\/plugins\/ajax-load-more\/extensions\/relevanssi\/\">View Documentation<\/a><\/strong><\/p>\n\n<!--section=installation-->\n<h4>Uploading in WordPress Dashboard<\/h4>\n\n<ol>\n<li>Navigate to the 'Add New' in the plugins dashboard<\/li>\n<li>Navigate to the 'Upload' area<\/li>\n<li>Select <code>ajax-load-more-for-relevanssi.zip<\/code> from your computer<\/li>\n<li>Click 'Install Now'<\/li>\n<li>Activate the plugin in the Plugin dashboard<\/li>\n<\/ol>\n\n<h4>Using FTP<\/h4>\n\n<ol>\n<li>Download <code>ajax-load-more-relevanssi.zip<\/code>.<\/li>\n<li>Extract the <code>ajax-load-more-for-relevanssi<\/code> directory to your computer.<\/li>\n<li>Upload the <code>ajax-load-more-for-relevanssi<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Ensure Ajax Load More is installed prior to activating the plugin.<\/li>\n<li>Activate the plugin in the WP plugin dashboard.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20does%20this%20work%3F'><h3>How does this work?<\/h3><\/dt>\n<dd><p>This extensions works by using the <a href=\"https:\/\/connekthq.com\/plugins\/ajax-load-more\/docs\/filter-hooks\/#alm_query_args\">alm_query_args<\/a> filter to pass values to the Relevanssi query and then back to Ajax Load More.<\/p><\/dd>\n<dt id='how%20do%20i%20pass%20a%20search%20term%20to%20relevanssi'><h3>How do I pass a search term to Relevanssi<\/h3><\/dt>\n<dd><p>You can pass search term to your Ajax Load More shortcode. [ajax_load_more search=\"My Search Query\" id=\"relevanssi\"]<\/p><\/dd>\n<dt id='how%20do%20i%20highlight%20the%20search%20term%20in%20the%20search%20excerpts%3F'><h3>How do I highlight the search term in the search excerpts?<\/h3><\/dt>\n<dd><p>In your Ajax Load More Repeater Template you can do the following using the <a href=\"https:\/\/github.com\/msaari\/relevanssi\/blob\/master\/lib\/excerpts-highlights.php#L27\">relevanssi_do_excerpt<\/a> function.\n    global $post;\n    echo relevanssi_do_excerpt( $post, $args['search'] );<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.4 - June 5, 2025<\/h4>\n\n<ul>\n<li>NEW: Adding Ajax Load More as a required plugin.<\/li>\n<li>UPDATE: Code cleanup, readme and WP tested version.<\/li>\n<\/ul>\n\n<h4>1.0.3 - November 11, 2024<\/h4>\n\n<ul>\n<li>UPDATE: Readme, contributors, WordPress tested version <\/li>\n<\/ul>\n\n<h4>1.0.2 - April 17, 2021<\/h4>\n\n<ul>\n<li>UPDATE - Added support for highlighting the search term in Relevannsi post excerpts with Ajax Load More. See plugin FAQs for details.<\/li>\n<\/ul>\n\n<p>= 1.0.1 - December 18, 2019=\n* NEW - Added support for core Relevanssi filter <a href=\"https:\/\/www.relevanssi.com\/knowledge-base\/ordering-search-results-date\/\">relevanssi_modify_wp_query<\/a><\/p>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial Release.<\/li>\n<\/ul>","raw_excerpt":"Ajax Load More extension that adds compatibility with Relevanssi.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/52474","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=52474"}],"author":[{"embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dcooney"}],"wp:attachment":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=52474"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=52474"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=52474"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=52474"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=52474"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=52474"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}