Google Search

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #22428
    amsltsmith
    Participant

    Hi,

    How can I modified the searchform.php to render a google search instead?

    I already have the Google search code, but I don’t know where to place it.

    I can use it in a widget right now, does the Invent template allow me to put a widget in the top header?

    Thank you

    http://www.avemarialaw.edu/

    #22438
    amsltsmith
    Participant
    This reply has been marked as private.
    #22448
    Veena
    Moderator

    You can copy the html generated code of google search widget and use in header-title-area.php file ; you can paste the code in the same place where you have added the normal search form.

    
     ?>
                <div class="wgs_wrapper"><div id="___gcse_0"><div class="gsc-control-searchbox-only gsc-control-searchbox-only-en" dir="ltr"><form class="gsc-search-box" accept-charset="utf-8"><table cellspacing="0" cellpadding="0" class="gsc-search-box"><tbody><tr><td class="gsc-input"><input autocomplete="off" type="text" size="10" class=" gsc-input " name="search" title="search" id="gsc-i-id1" x-webkit-speech="" x-webkit-grammar="builtin:search" lang="en" dir="ltr" spellcheck="false" style="outline: none; background: url(&quot;http://www.google.com/cse/static/en/google_custom_search_watermark.gif&quot;) left center no-repeat rgb(255, 255, 255);" vk_11a1e="subscribed"><input type="hidden" name="bgresponse" id="bgresponse"></td><td class="gsc-search-button"><input type="button" value="Search" class="gsc-search-button" title="search"></td><td class="gsc-clear-button"><div class="gsc-clear-button" title="clear results">&nbsp;</div></td></tr></tbody></table><table cellspacing="0" cellpadding="0" class="gsc-branding"><tbody><tr><td class="gsc-branding-user-defined"></td><td class="gsc-branding-text"><div class="gsc-branding-text">powered by</div></td><td class="gsc-branding-img"><img src="https://www.google.com/uds/css/small-logo.png" class="gsc-branding-img"></td></tr></tbody></table></form></div></div></div>
              <?php  
    
    #26354
    amsltsmith
    Participant

    Hi,

    I lost my search box with the last theme update. I can’t get it to work. Is there any way that I could talk to someone?

    Thank you,

    Monica
    239-687-5442

    #26356
    amsltsmith
    Participant

    Hi,

    This is my website: http://www.avemarialaw.edu/

    I added the google search box in the footer, but I would like to place on the header in the top right.

    Could you please help me?

    Thank you,

    Monica

    #26359
    Veena
    Moderator
    #26360
    amsltsmith
    Participant

    Yes, I have tried that, but It isn’t working.

    #26372
    Veena
    Moderator

    Ok ll check and get back to you shortly .

Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘Invent Theme Support’ is closed to new topics and replies.