常用函数-get_search_form()

0条评论

说明

利用searchform.php主题文件显示搜索表单。

用法

<?php get_search_form(); ?>

参数

该函数不接收任何参数。

示例

注释

历史记录

  • 始见于2.7.0版本

源文件

get_search_form()位于wp-includes/general-template.php中。

相关资源

get_header, get_sidebar, get_search_form, comments_template, get_footer()

 

发表新评论

此内容将保密,不会被其他人看见。
  • 自动将网址与电子邮件地址转变为链接。
  • 允许HTML标签:<a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • 自动断行和分段。

更多关於格式化选项的信息

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.