Forums Forums Search & Filter Pro Hide posts if nothing found

Viewing 10 posts - 11 through 20 (of 31 total)
  • Anonymous
    #169177

    If I add message before endwhile, it is always visible, no matter what result I have using filters or search

    Trevor
    #169179

    Ah. My bad. The code have been this:

    <?php endwhile; wp_reset_postdata(); else:?>
    <div><p>No results found</p></div>
    <?php>endif; ?>
    Anonymous
    #169181

    Now I never see the message

    Anonymous
    #169185

    Maybe I need custom filter which will work with custom display method?

    Anonymous
    #169187

    Or maybe problem is in result page? My result page is the main page. Shortcode from the search page doesn’t work on the main page.

    Trevor
    #169191

    I do not know. This is somewhere in your theme. If the message is not being displayed, then your theme seems to have a default no results found code/function that displays posts.

    Anonymous
    #169208

    I tried although in index.php. Nothing happened. Maybe I need default search form?

    Anonymous
    #169221

    And another question: in admin-panel in post meta tab if I choose datetime type, why there is no checkbox “current time”, like in date type or timestamp type? How can set the current time there?

    Trevor
    #169223

    This is not a current feature of the plugin, sorry. A thought I had was for you to try our shortcode method to display results instead. Did you try that?

    Anonymous
    #169227

    No, okay, I’ll try, thank you!
    Reply please on previous message about datetime. It’s very important.

Viewing 10 posts - 11 through 20 (of 31 total)