- Implement scribu’s Theme Wrapper (see base.php) - Move templates, comments.php, and searchform.php to templates/ folder - Rename loop- files to content- - Remove all hooks except roots_head and roots_footer - Use templates/page-header.php for page titles - Use head.php for everything in <head>
5 lines
425 B
PHP
5 lines
425 B
PHP
<form role="search" method="get" id="searchform" class="form-search" action="<?php echo home_url('/'); ?>">
|
|
<label class="hide" for="s"><?php _e('Search for:', 'roots'); ?></label>
|
|
<input type="text" value="" name="s" id="s" class="search-query" placeholder="<?php _e('Search', 'roots'); ?> <?php bloginfo('name'); ?>">
|
|
<input type="submit" id="searchsubmit" value="<?php _e('Search', 'roots'); ?>" class="btn">
|
|
</form>
|