logokala1
Member
Posted 3 years ago #
Hi,
I use Blue Zinfandel WordPress Theme for my blog (www.frenchohlala.com) and the search engine in sidebar doesn't work.
Here is the code:
<li id="Search">
<h2>Search</h2>
<form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<input type="text" name="s" id="s" size="30" value="search this site..."/></form><br /><br />
</li>
Do you have an idea ?
Thanks in advance.
Louis
I've taken a look and everything seems fine even in the website it is working. You'd need to press "Enter" to search. You missed the submit button
<li id="Search">
<h2>Search</h2>
<form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<input type="text" name="s" id="s" size="30" value="search this site..."/></form>
<input type="submit" id="searchsubmit" value="Search" /><br /><br />
</li>
or instead of this default button, you can use an image as a button
<input type="image" id="searchsubmit" src="Image URL here" class="your CSS class here" />
AndrewGentle
Member
Posted 2 years ago #