11.google検索でサイト内検索を行う

作成日: 2021/08/29 更新日: 2023/03/25 サイトの紹介と使い方

初めに

  1. Google検索を使ってサイト内検索を行います。
  2. 下記の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>

お問合せ・御要望

お問合せ
Verified by MonsterInsights
タイトルとURLをコピーしました