作成日: 2021/08/29 更新日: 2023/03/25 サイトの紹介と使い方
初めに
- Google検索を使ってサイト内検索を行います。
- 下記のHTMLコードを返す32.wordpressにgoogleサイト内検索formを設置を参照してください。
HTMLコード
<form class="my-search-site" method="get" action="https://www.google.co.jp/search" target="_blank">
<input type="hidden" name="sitesearch" value="https://aidendo-pilot.com">
<input type="text" name="q" style="font-size:15px;size:20px;" placeholder=キーワードを入力してください value="">
<button type="submit" style="height:40px;font-weight:bold;">googleサイト内検索</button>
</form>