Forums Forums Search & Filter Pro No results returns last displayed results

Viewing 8 posts - 1 through 8 (of 8 total)
  • Trevor
    #207033
    This reply has been marked as private.
    Anonymous
    #207081
    This reply has been marked as private.
    Trevor
    #207110

    Hi. I can see that you are using the Custom Display Results Method. That means the the results will be controlled by either a theme or custom template, or a plugin (and its template). As such, it is those templates that control what happens when no results are found. So, what template is being used to output the results?

    Anonymous
    #207167
    This reply has been marked as private.
    Trevor
    #207211

    At the end of that file you have this:

        endwhile;
    endif;

    Between those two lines if you need to add code that handles what happens for an empty results, like this:

        endwhile;
      else:
    ?>
            <div class="container">
                <section id="first">
                    <div class="row">
                        <div class="col-12">
                            <div id="introBlock">
                                <div class="content">
                                    <p>No Results Found</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </section>
            </div>
    <?php
    endif;

    I think.

    Anonymous
    #207480
    This reply has been marked as private.
    Anonymous
    #207502
    This reply has been marked as private.
    Trevor
    #207541
    This reply has been marked as private.
Viewing 8 posts - 1 through 8 (of 8 total)