Googleカスタム検索
以下のサイトを参考に設置
- http://webkaru.net/wordpress/google-custom-search-design/
- http://rcmdnk.github.io/blog/2014/01/07/blog-octopress/
HTMLフォームを使用したカスタム検索ボックスを作成
<form id="cse-search-box" action="http://google.com/cse"> <input type="hidden" name="cx" value="YOUR SEARCH ENGINE ID goes here" /> <input type="hidden" name="ie" value="UTF-8" /> <input type="text" name="q" size="31" /> <input type="submit" name="sa" value="Search" /> </form> <img src="http://www.google.com/cse/images/google_custom_search_smwide.gif">
2ページ構成なので、以下の2カ所修正。
- 「YOUR SEARCH ENGINE ID goes here」の部分
- 「http://google.com/cse」の部分
なかなかかっこ良くできました。