原文:http://kewang.pixnet.net/blog/post/2928565 效果如下,語法請入內
要新增搜尋功能,那當然要用自訂欄位啦,然後打入下面的語法 請複製框內語法 <form method="get" action="http://www.google.com.tw/custom" target="_blank"> <input type="text" name="q" size="20"> <input type="submit" name="sa" value="搜尋"> <input type="hidden" name="domains" value="http://i94u.pixnet.net/blog"> <input type="hidden" name="sitesearch" value="http://i94u.pixnet.net/blog"> </form> domains跟sitesearch這兩個的value 就是要改成你要搜尋的網址 像我的就是http://i94u.pixnet.net/blog 這樣才會搜尋到你的文章。 這段語法會出現下面的這一個表單,如此就可以在站內搜尋自己的文章了。
請複製框內語法