Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search Results Template & Placement
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 1 year, 4 months ago.
- AuthorPosts
- November 19, 2021 at 4:50 am #35638
I have purchased and tried about 5 ajax search plugins. Here is what I need to make happen, and I’m hoping you can help.
I have a landing page with a search input and a container. On load the container holds the results of a query of the author’s posts (custom post type). I want the search input to run an ajax search and the results replace the content within the existing container. Also, I want to build out the template that the results display in so that they match the original design.
Currently all ajax plugins display simple results in a popup under the search input. I don’t want this. I want the results to be placed into the existing container. Can your plugin do this? I have 1.5 days to make this site work as intended, so I’m on a tight deadline.
November 19, 2021 at 3:28 pm #35648Hi,
Well, there are two ways this could be doable:
– If the container you need to replace the results in is the loop on the actual search results page, then it can be doable via the results page live loader feature.
– On random pages the Elementor Pro Posts and Products widgets are supported for live loading.Otherwise the results have to be displayed within the plugins own results container. That can be moved via the results shortcode to a different location, if needed.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
November 19, 2021 at 6:33 pm #35657Surely we can figure this out. A simple modification of the JS thats putting the results into the current container would resolve it. If you can point me in the right direction I can change the JS selector.
November 20, 2021 at 8:41 am #35661You can do that with the results shortcode. Wherever you place that shortcode, the plugin will output the results HTML there.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.