This repository has been archived on 2024-04-03. You can view files and clone it, but cannot push or open issues or pull requests.
qdouze2-wordpress-theme/components/searchform.php
2023-05-21 15:56:20 +02:00

6 lines
363 B
PHP

<form method="get" id="searchform" 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>