• Resolved PetLvr

    (@petlvr)


    Hi again. I am again looking for support for https://CurlingBlog.com website. When you enter a search criteria, you pretty much get a blank screen, although the header/masthead graphic remains. There is nothing below that. Is there a problem with this code?


    <div>
    <div class="sidebar-box">
    <h2 class="sidebar-title" id="search-title">Search
    </h2>
    </div>
    <div class="sidebar-content" id="search-content">
    <form style="padding:0; margin:0;" id="searchform" method="get" action="<?php bloginfo('url'); ?>">
    <table border="0"><tr>
    <td><input type="text" class="input" name="s" id="search" alt="Search" size="20" /></td>
    <td><input name="submit" class="button" type="submit" tabindex="5" value="<?php _e('Go'); ?>" /></td>
    </tr></table>
    </form>
    </div>
    </div>

    I’m not sure how long this has been going on, whether I might have modified the code accidentally, but this template was also copied into https://CurlingBlog.com/gushue/ and https://CurlingBlog.com/kleibrink/ blogs too .,. and the searches do not work there either.

    Anything stick out like a sore thumb? Thanks in advance

    HART / aka PetLvr

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator James Huff

    (@macmanx)

    Four things to try:

    1. Disable all of your active plugins and try a new search.

    2. Upload a freshly downloaded copy of your current theme and change the name in the theme’s style.css file so it appears differently in the Presentation menu. Then, activate the newly-uploaded theme and try a new search.

    3. Activate the Default Theme and try a new search.

    4. Fixing your XHTML validation errors may improve the situation:

    https://validator.w3.org/check?verbose=1&uri=https://www.curlingblog.com/

    Thread Starter PetLvr

    (@petlvr)

    Hi macmanx .. for the record before closing this thread:
    (1) tried – didn’t make a difference
    (2) I skipped this suggestion, see (5)
    (3) ditto see (5)
    (4) UGH – I have over 120 XHTML validation errors, but the errors seem in error to me (i don’t have a > but I do?)

    It all seemed like a futile exercise so in this case, because there is a blog and two sub-blogs on the same domain, I removed the existing template search and replaced it with a google Site-Search and put that code on all blogs .. Now, at least people get results.

    I’ll have to read up on my validation errors ..

    thanks for suggestions

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘My Search isn’t working in my template ..’ is closed to new replies.