This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Ajax Search results on Elementor search results page

Home Forums Bug reporting, Questions & Suggestions Ajax Search Pro for WordPress Ajax Search results on Elementor search results page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #24650
    vrgabrelian94vrgabrelian94
    Participant

    I’ve created an Elementor template for the Search Results Archive page with a posts widget that allows for a custom query. I want to pull in the Ajax Search plugin results into that page’s query using Elementor’s custom query ID (info: https://developers.elementor.com/custom-query-filter/)

    Sample code I’m working with:

    // Filter query on Search Results page with Ajax Search Lite plugin results
    add_action( 'elementor/query/asl_custom_search_query', function( $query ) {
    $query->set( 'meta_query', $meta_query );
    } );

    Not sure how to change this query to the same one Ajax Search uses before sending it to the Elementor Search Results page.

    #24652
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    Can you please move this topic to the ajax search lite plugin support forums: https://wordpress.org/support/plugin/ajax-search-lite/
    Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Ajax Search results on Elementor search results page’ is closed to new replies.