WordPress.org

Support

Support » Themes and Templates » Prevent Search Content display in empty submission

Prevent Search Content display in empty submission

  • lasanmuditha
    Member

    @lasanmuditha

    Hi
    I love your theme and it’s a great one .. thank you .
    I want to do a small modification . When user press “SEARCH” button even without type anything it display some search results. I think it little bit funny.
    So how can I prevent this ( and better if we can display a message saying some thing like ” Type something before search….! in these situation)

    Can we do that?
    Thank you

  • The topic ‘Prevent Search Content display in empty submission’ is closed to new replies.