介绍

显示tag页面的标题。

使用

<?php single_tag_title( $prefix, $display ); ?> 

默认

<?php single_tag_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