Results not working when empty – Elementor

Forums › Forums › Search & Filter Pro › Results not working when empty – Elementor

Tagged: 

Viewing 7 posts – 1 through 7 (of 7 total)
  • Anonymous
    #210865

    Hello,

    I am using Elementor post widget and the fitler works but when i filter where i know the output is empty it shows the previous posts. Is there a way to show no posts when i filter to an empty category?

    Thanks
    Dieter

    Trevor
    #210883

    It is Elementor that controls what happens in a no results found situation. I would advise restricting the possibility of this happening by removing any empty results terms from the search form. To do this, in the General settings tab:

    Set Auto Count (both settings) to ON

    And then in the Form UI:

    In each field set Hide Empty to ON?

    However, if you have a general text search field, it will always be possible to get no results.

    Anonymous
    #211041

    Hi Trevor,

    Thanks. It works without Ajax. Is there a code we can use to echo some css when the results are empty?

    Trevor
    #211045

    There is not, as that part of the output is handled by Elementor, not Search & Filter.

    Anonymous
    #211049
    This reply has been marked as private.
    Trevor
    #211054
    This reply has been marked as private.
    Anonymous
    #211056
    This reply has been marked as private.
Viewing 7 posts – 1 through 7 (of 7 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.