• Resolved logokala1

    (@logokala1)


    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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" />

    Sorry, wrong post!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Search form doesn’t work’ is closed to new replies.