Search Widget not working in Thesis 2 (3 posts)

  1. rachaelstarr
    Posted 2 years ago #

    Hi all,

    So I'm not sure what the problem is, and I've been trying to find a solution for far too many hours..

    When I use the search widget (standard or thesis), I put in a term I know exists on the site. When I click the search button, I'm taken to a blank page. You can see the page I'm working on here:

    The Shoe Girl

    I've also set up a completley blank install of thesis with no plugins or anything, and I'm getting the same problem:

    Test Site

    I have no idea if I need to add something to the 'search results' template in thesis to get it to display the results?

    Thanks in advance for help!

  2. yshahi
    Posted 2 years ago #


    I have a similar problem. When I enter a term that doesn't exist on the site, search result show up a blank page. I want to display some message here. Don't understand how to do it. But the term that exist on the site is displaying properly on search result page.

    @rachael: You are also having same issue like mine: http://www.theshoegirl.net/?s=man this most show some error message but showing a blank page instead.

    Please help!

    Thank you.

  3. yshahi
    Posted 2 years ago #

    Hi Rachael,

    Here is the code that solve my problem:
    function no_search_results() {
    if (is_search()) {
    echo '<div class="no-results">';
    echo '<h1>No results</h1>';
    echo '</div>';

    Hope this work for you as well. Good Luck!

Topic Closed

This topic has been closed to new replies.

About this Topic