add page template

This commit is contained in:
2021-10-10 15:16:51 +03:00
parent 3619ce52d2
commit bc8d93c91a
7 changed files with 85 additions and 45 deletions

23
blocks/search-form.php Normal file
View File

@@ -0,0 +1,23 @@
<div class="wrap">
<form action="<?php bloginfo('url') ?>" method="GET">
<input type="text" class="input" name="s" id="s" placeholder="Поиск по сайту">
</form>
<i class="fa fa-search" aria-hidden="true"></i>
</div>
<!-- <div id="aj_search">
<form action="<?php //bloginfo('url') ?>" method="GET">
<input type="text" name="s" id="s" value="поиск..." autocomplete="off" />
</form>
<div id="aj_searchresults"></div>
</div> -->
<!-- <form role="search" method="get" class="search-form" action="<?php //echo home_url( '/' ); ?>">
<label>
<span class="screen-reader-text">Search for:</span>
<input type="search" class="search-field" placeholder="Искать…" value="" name="s" title="Искать:" />
</label>
<input type="submit" class="search-submit" value="Поиск" />
</form> -->