WordPress函数single_term_title()

鱼见海资源网最新教程:

介绍

返回当前页面标题。

使用

参数

$prefix
(string) (optional) Text to output before the title.
Default: None
Note: The $prefix argument is currently ignored if the $display argument is false.
See http://core.trac.wordpress.org/ticket/16632

$display
(boolean) (optional) Display the title (TRUE), or return the title to be used in PHP (FALSE).
Default: TRUE

示例

在标题前显示”Currently browsing ”

.

显示结果

Currently browsing WordPress.

文章来源于互联网

© 版权声明
THE END
喜欢就支持一下吧
点赞45 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容