- 介绍
WordPress默认提供的搜索框太简陋了?DIY啊。
- 玉照
[caption id="attachment_3504" align="aligncenter" width="340"] pre_get_search_form[/caption]
- 代码
[codesyntax lang="php"]
add_action('pre_get_search_form', 'suren_pre_get_search_form'); function suren_pre_get_search_form($form) { echo '<div>Pre Search</div>'; }