- This topic has 2 replies, 2 voices, and was last updated 10 years, 2 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Display a message when search results not found
Tagged: no records found, search
Hi Ross,
I want to display a message in the body section of the index page (where I am displaying search results (same page), not using any templates) when no records found with the selected filter criteria.
Please help me to achieve the same
Regards
Faas
Hi there
Please check the template found in search-filter-pro/templates/results.php for an example of how to display this message.
Also see the codex: https://codex.wordpress.org/Function_Reference/have_posts
Thanks