模板标签-the_meta()

0条评论

说明

该标签显示当前文章的元信息“key:value”对无序列表,或日志元数据。该标签必须在WordPress主循环(loop)。更多关于该标签的信息请见使用自定义字段

用法

<?php the_meta(); ?> 

参数

该标签无参数。

示例

<p>Meta information for this post:</p>  
<?php the_meta(); ?>  

the_meta的输出结果:

<ul class='post-meta'>  
<li><span class='post-meta-key'>your_key:</span> your_value</li>  
</ul>

发表新评论

此内容将保密,不会被其他人看见。
  • 自动将网址与电子邮件地址转变为链接。
  • 允许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.