最低限のやつです
設置用タグ
<form action="サイトのURL" method="get">
<input name="s" type="text" placeholder="キーワードを入力"/>
<button type="submit">検索</button>
</form>
結果用(search.php)
<?php
if (isset($_GET['s']) && empty($_GET['s'])) {
echo '検索キーワードが入力されていません';
} else {
echo '“' . $_GET['s'] . '”の検索結果:' . $wp_query->found_posts . '件';
} ?>