Reply To: How to offer a link/button/contactform if "No results!"

Home Forums Product Support Forums Ajax Search Pro for WordPress Support How to offer a link/button/contactform if "No results!" Reply To: How to offer a link/button/contactform if "No results!"

#8877

Ernest Marcinko
Keymaster

Hi!

Thanks for your kind words!

I think you are looking for the results templating knowledge base article. There are basically template files for results, including the “No results” template. You are looking for the ajax-search-pro/includes/views/reuslts/no-results.php file. That file is parsed when there are no results at all. You can ad anything you want to that.

If I understand correctly you want to display the page related to the term instead of the term. In that case use the Search in terms? option on the General Options -> Sources panel: https://i.imgur.com/TN37T5b.png

Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)