Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 25 lines (23 sloc) 1.018 kB
0c01223 @justintadlock Bring in the initial files and folders.
authored
1 <?php
2 /**
3 * Search Form Template
4 *
5 * The search form template displays the search form.
6 *
8ab6ce2 @justintadlock Copy/Paste fail. Update all instances of @package MyLife to @package…
authored
7 * @package Picturesque
0c01223 @justintadlock Bring in the initial files and folders.
authored
8 * @subpackage Template
9 * @since 0.1.0
10 * @author Justin Tadlock <justin@justintadlock.com>
d8e7a87 @justintadlock Many, many changes getting this theme ready.
authored
11 * @copyright Copyright (c) 2012, Justin Tadlock
12 * @link http://themehybrid.com/themes/picturesque
0c01223 @justintadlock Bring in the initial files and folders.
authored
13 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
14 */
15 ?>
16 <div class="search">
17
18 <form method="get" class="search-form" action="<?php echo trailingslashit( home_url() ); ?>">
19 <div>
d8e7a87 @justintadlock Many, many changes getting this theme ready.
authored
20 <input class="search-text" type="text" name="s" value="<?php if ( is_search() ) echo esc_attr( get_search_query() ); else esc_attr_e( 'Enter search terms...', 'picturesque' ); ?>" onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;" />
21 <input class="search-submit button" name="submit" type="submit" value="<?php esc_attr_e( 'Search', 'picturesque' ); ?>" />
0c01223 @justintadlock Bring in the initial files and folders.
authored
22 </div>
23 </form><!-- .search-form -->
24
25 </div><!-- .search -->
Something went wrong with that request. Please try again.