Support » Plugins » How can I make a widget to do this?

  • Resolved blackshadow


    I am very new to WordPress and have a very limited (ie almost non existent) knowledge of coding websites.

    I’d like a widget that allows a google search the same as what I have in the right sidebar of my site –

    I made the search by putting the following code in the r_sidebar script of my template – would be much better if I could make a widget so I can move it about.

    Code is:

    <!– SiteSearch Google –>
    <form method=”get” action=”” target=”google_window”>
    <table border=”0″ bgcolor=”#000000″>
    <tr><td nowrap=”nowrap” valign=”top” align=”left” height=”32″>

    <img src=”” border=”0″ alt=”Google” align=”middle”></img>

    <input type=”hidden” name=”domains” value=””></input>
    <label for=”sbi” style=”display: none”>Enter your search terms</label>
    <input type=”text” name=”q” style=”width:175px; ” maxlength=”255″ value=”” id=”sbi”></input>
    <td nowrap=”nowrap”>
    <input type=”radio” name=”sitesearch” value=”” checked id=”ss0″></input>
    <label for=”ss0″ title=”Search the Web”><font size=”-1″ color=”#ffffff”>Web</font></label></td>
    <input type=”radio” name=”sitesearch” value=”” id=”ss1″></input>
    <label for=”ss1″ title=”Search”><font size=”-1″ color=”#ffffff”></font></label></td>
    <label for=”sbb” style=”display: none”>Submit search form</label>
    <input type=”submit” name=”sa” value=”Search” id=”sbb”></input>
    <input type=”hidden” name=”client” value=”pub-9426254923038871″></input>
    <input type=”hidden” name=”forid” value=”1″></input>
    <input type=”hidden” name=”ie” value=”ISO-8859-1″></input>
    <input type=”hidden” name=”oe” value=”ISO-8859-1″></input>
    <input type=”hidden” name=”cof” value=”GALT:#FFFFFF;GL:1;DIV:#000000;VLC:FFFFFF;AH:center;BGC:000000;LBGC:000000;ALC:FFFFFF;LC:FFFFFF;T:FFFFFF;GFNT:FFFFFF;GIMP:FFFFFF;FORID:1″></input>
    <input type=”hidden” name=”hl” value=”en”></input>
    <!– SiteSearch Google –>

    Thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How can I make a widget to do this?’ is closed to new replies.