I have to add a "Search" feature inside my WordPress Content management systems site that i'm presently developing and was wishing to add this feature/wordpress plugin towards the following bit of code and unsure how to get this done in WordPress, i.e.:

            <div id="search_box">
              <form method="get" action="/search" id="form">
                <input name="white_box" type="text" class="search" value="Search site" size="19" maxlength="80" id="white_box" onfocus="if (this.value=='Search site') this.value = ''"/>
                <input name="submit" type="image" class="submit" value="submit" src="images/search_btn.jpg" />

I essentially wish to add a "Search" feature on my small site.

Any help could be great.


Mtss is a very fundamental WordPress search form. Begin to see the difference within the form action URL?

<form method="get" id="searchform" action="<?php bloginfo('home'); ?>/">
   <input type="text" size="14" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" class="s" />
   <input type="submit" id="searchsubmit" value="<?php _e('GO'); ?>" />