• Resolved blackshadow

    (@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 – http://www.blackshadow.com.au

    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=”http://www.google.com.au/custom&#8221; target=”google_window”>
    <table border=”0″ bgcolor=”#000000″>
    <tr><td nowrap=”nowrap” valign=”top” align=”left” height=”32″>

    <img src=”
    http://www.google.com/logos/Logo_25blk.gif&#8221; border=”0″ alt=”Google” align=”middle”></img>
    <br/>
    <input type=”hidden” name=”domains” value=”blackshadow.com.au”></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></tr>
    <tr>
    <td nowrap=”nowrap”>
    <table>
    <tr>
    <td>
    <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>
    </tr><tr><td>
    <input type=”radio” name=”sitesearch” value=”blackshadow.com.au” id=”ss1″></input>
    <label for=”ss1″ title=”Search blackshadow.com.au”><font size=”-1″ color=”#ffffff”>blackshadow.com.au</font></label></td>
    </tr>
    </table>
    <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>
    </td></tr></table>
    </form>
    <!– 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.