WordPress函数single_post_title()

鱼见海资源网最新教程:

介绍

显示single、page页面标题,这个标签不必在the_loop循环中,只要在single、page页面即可。

使用

参数

$prefix
(string) (可选) 显示在标题前的文本。
Default: None

$display
(boolean) (optional) Should the title be displayed (TRUE) or returned for use in PHP (FALSE).
Default: TRUE

示例

文章来源于互联网

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

昵称

取消
昵称表情代码图片

    暂无评论内容