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

  • This topic has 2 replies, 2 voices, and was last updated 9 years ago by Anonymous.
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)