groups

name language licence
Default Usage PHP Other
grid.css PHP Other
WORDPRESS GET URL PHP BSD
custom CSS Other
page PHP Other
slideshow-static PHP Other
searchform PHP Other
quotes PHP Other

< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 >



language: PHP
licence: Other

searchform

options: view full snippetsend to code collector
<!-- <?php if (!is_search()) {

		// Default search text
		$search_text = "Search";

	} else { $search_text = "$s"; }
?>

<div id="search-form">	
<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
<div><input type="text" value="<?php the_search_query(); ?>" name="s" id="s" />
<input type="submit" id="searchsubmit" value="Search" />
</div>
</form>
</div>/search-form -->
	
(Continues...)