Support » Themes and Templates » Search Widget not working in Thesis 2

  • 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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    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: this most show some error message but showing a blank page instead.

    Please help!

    Thank you.

    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Search Widget not working in Thesis 2’ is closed to new replies.