kspace-wordpress-theme/components/searchform.php

7 lines
347 B
PHP

<form method="get" action="<?php bloginfo('home'); ?>/">
<div>
<label for="searchfield" class="sr-only">Formulaire de recherche</label>
<input class="form-control" id="searchfield" type="search" placeholder="Chercher sur le site" aria-label="Chercher sur le site" value="<?php the_search_query(); ?>" name="s" id="s" />
</div>
</form>