Update searchform and meta templates

This commit is contained in:
Foxaii
2013-08-02 00:44:12 +01:00
parent 61f2296a75
commit c319801ad4
2 changed files with 5 additions and 5 deletions

View File

@@ -1,2 +1,2 @@
<time class="updated" datetime="<?php echo get_the_time('c'); ?>" pubdate><?php echo get_the_date(); ?></time>
<time class="published" datetime="<?php echo get_the_time('c'); ?>"><?php echo get_the_date(); ?></time>
<p class="byline author vcard"><?php echo __('By', 'roots'); ?> <a href="<?php echo get_author_posts_url(get_the_author_meta('ID')); ?>" rel="author" class="fn"><?php echo get_the_author(); ?></a></p>

View File

@@ -1,9 +1,9 @@
<form role="search" method="get" id="searchform" class="form-inline" action="<?php echo home_url('/'); ?>">
<form role="search" method="get" class="search-form form-inline" action="<?php echo home_url('/'); ?>">
<div class="input-group">
<input type="search" value="<?php if (is_search()) { echo get_search_query(); } ?>" name="s" id="s" class="form-control" placeholder="<?php _e('Search', 'roots'); ?> <?php bloginfo('name'); ?>">
<label class="hide" for="s"><?php _e('Search for:', 'roots'); ?></label>
<input type="search" value="<?php if (is_search()) { echo get_search_query(); } ?>" name="s" class="search-field form-control" placeholder="<?php _e('Search', 'roots'); ?> <?php bloginfo('name'); ?>">
<label class="hide"><?php _e('Search for:', 'roots'); ?></label>
<span class="input-group-btn">
<button type="submit" id="searchsubmit" class="btn btn-default"><?php _e('Search', 'roots'); ?></button>
<button type="submit" class="search-submit btn btn-default"><?php _e('Search', 'roots'); ?></button>
</span>
</div>
</form>