SearchWP – how to avoid a page reload after clicking ‘Find Results’
-
We have implemented SearchWP using a shortcode on a tab of a product page of a client’s website, under the tab ‘Test’ on this site.
Works well, but when clicking ‘Find Results’ on that tab, the page reloads completely, scrolling to the top and closing the tab.
This makes it hard to find the results again (you have to scroll down, find the ‘Test’ tab, and click on this tab again to see the search results).
Is there any way for the results to just refresh in the tab window without the whole page reloading?
This is the shortcode we are using
[searchwp_search_form engine="pdf_searches" var="searchvar" button_text="Find Results"] [searchwp_search_results engine="pdf_searches" var="searchvar" posts_per_page=4] Results available below: <h1>[searchwp_search_result_link direct="true"]</h1> [searchwp_search_result_excerpt] [/searchwp_search_results] [searchwp_search_results_none] No results found, please search again. [/searchwp_search_results_none] [searchwp_search_results_pagination direction="prev" link_text="Previous" var="searchvar" engine="pdf_searches"] [searchwp_search_results_pagination direction="next" link_text="Next" var="searchvar" engine="pdf_searches"]
Thank you!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘SearchWP – how to avoid a page reload after clicking ‘Find Results’’ is closed to new replies.