Hi guys.
So i’m trying to implement a search form in the slider. I’m getting there, but when i search something it just takes me to the 404 page not found page ๐
This is the code i used to display the search field:
<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>
I know the code is at least 4 years old, so i don’t know if that has something to do with it ๐
Or maybe I have to activate the search somewhere? ๐
Thanks
Attachments:
You must be
logged in to view attached files.