This topic contains 3 replies, has 2 voices, and was last updated by
- July 5, 2019 at 8:18 am #23606Participant
I am using ajax search pro plugin. I have used ‘Live load the results on the results page’ option to display result.
I would like to show ‘No result found’ text on result page if there are no matching results after applying filter. Please let me know how can I do this.
1)search ‘Lonavala’ in header search.
2)Click filter button on top right.
3)Set distance limit in filter above 250km
4)This should show ‘no result found’ text in result area.
Thanks in advance!July 5, 2019 at 10:54 am #23610Keymaster
Well, the plugin cannot really control that, it just prints whatever the theme returns. I think the live loader jQuery selector might be too specific, the no-results template within the theme changes the whole main area. You might have to change it from
..like so: https://i.imgur.com/oZ9WQLS.pngBest,
Using the other one would be better, if the theme printed that in the no-results template file (search.php template). Optimally, that item should be present there, and the plugin would copy it’s contents.
If you like my products, don't forget to rate them on codecanyon :)
July 5, 2019 at 10:57 am #23611Participant
Thanks for the solution. Worked like a charm!July 5, 2019 at 12:28 pm #23612
You must be logged in to reply to this topic.