okay i tried by taking this code from my header page for the seach box
<form method=”get” id=”searchform” action=”<?php bloginfo(‘url’); ?>/”>
<div class=”search”>
<input type=”text” name=”s” id=”s” class=”input” onclick=”this.value=”” value=”<?php _e(‘Search Listings…’,’cp’); ?>” onfocus=”if (this.value == ‘<?php _e(‘Search Listings…’,’cp’); ?>’) {this.value = ”;}” onblur=”if (this.value == ”) {this.value = ‘<?php _e(‘Search Listings…’,’cp’); ?>’;}” />
<input type=”submit” class=”go” value=”Go!” />
</div>
</form>
and created a new php page and uploaded to the theme folder but when i went to the page it was blank.
all i wont to do is have my main index page that has a search box for my wordpress blog – i know i have to use
<?php
require(‘/the/path/to/your/wp-blog-header.php’);
?>
to call the page with the search box but i dont know if im cpying the correct code????
please can anyone help…..