Display a message when search results not found

Forums Forums Search & Filter Pro Display a message when search results not found

Viewing 3 posts – 1 through 3 (of 3 total)
  • Anonymous
    #30728

    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

    Ross Moderator
    #31290

    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

    Anonymous
    #31344

    Thanks Ross. It is resolved

Viewing 3 posts – 1 through 3 (of 3 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.