• Resolved innovative4082

    (@innovative4082)


    Hi
    How do I get ajax search results on a page built with Elementor (Elementor Hello child theme) and the default Search Form widget, or how do I embed a default WordPress search bar (not Elementor widget) in the page so the Ajax results work?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Add this snippet to your site to enable Relevanssi Live Ajax Search in the Elementor Search Form:

    add_filter( 'elementor_pro/search_form/before_input', function( $module ) {
    	$module->add_render_attribute('input', [ 'data-rlvlive' => 'true']);
    });
    Thread Starter innovative4082

    (@innovative4082)

    This works brilliantly, thanks so much!

    Thank you. This just helped me.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Ajax Search on Elementor Page’ is closed to new replies.