Anonymous User 13489667
(@anonymized-13489667)
Hello.
If your template supports it, you may solve with this:
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
Otherwhise try the following:
<form method="get" id="searchform" action="<?php bloginfo('home'); ?>/">
<div><input type="text" size="put_a_size_here" name="s" id="s" value="Write your search and hit Enter" onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;"/>
<input type="submit" id="searchsubmit" value="Search" class="btn" />
</div>
</form>
Both are intended to be written on the header.
Depending on your theme, you’ll have a different css file whith the header parameters.
Add these lines (try the first one in the first place) where you want them to show up.
Regards
sir,
your code is not working.
sir,
your code is not working.