wordpress/php-fpm/wordpress_files/themes/twentytwelve-mst/searchform.php

14 lines
446 B
PHP
Raw Normal View History

2020-05-22 03:40:23 +02:00
<form action="<?php echo esc_url(home_url('/')); ?>" method="get" role="search">
<div class="form-group">
<div class="input-group">
<input type="text" class="form-control" name="s" id="search"
value="<?php the_search_query(); ?>"
placeholder="<?php esc_attr_e('Buscar', 'twentytwelve'); ?>"
>
<span class="input-group-addon">
<button type="submit"><i class="fa fa-search"></i></button>
</span>
</div>
</div>
</form>