add files
This commit is contained in:
19
template-parts/search/search-form.php
Normal file
19
template-parts/search/search-form.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<!--[search/search-form]-->
|
||||
|
||||
<form class="searchform" action="/">
|
||||
|
||||
<button class="searchform__btn" type="submit">
|
||||
|
||||
<svg viewBox="0 0 24 24" class="align-baseline svg-icon">
|
||||
|
||||
<use xlink:href="/wp-content/themes/profile/assets/img/sprites-svg/dist/sprite.svg#lens"></use>
|
||||
|
||||
</svg>
|
||||
|
||||
</button>
|
||||
|
||||
<input name="s" type="search" placeholder="Поиск по сайту" value="<?= trim(strip_tags(get_query_var('s'))); ?>" />
|
||||
|
||||
</form>
|
||||
|
||||
<!--[/search/search-form]-->
|
||||
Reference in New Issue
Block a user