WordPress: Template Tags/the meta:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
无编辑摘要
无编辑摘要
 
第1行: 第1行:
== Description ==
== 描述 ==
== 描述 ==
Displays an unordered list of meta "key:value" pairs, or the post-meta, for the current post. Must be used from within [[WordPress:The_Loop]]. For more information on this tag, see [[WordPress:Using_Custom_Fields]].


为当前文章显示meta "key:value" pairs,或者post-meta的一个无序列表。必须在[[WordPress:The_Loop|The_Loop]]内使用。关于这个标签的更多信息,请看看[[WordPress:Using_Custom_Fields]]。
为当前文章显示meta "key:value" pairs,或者post-meta的一个无序列表。必须在[[WordPress:The_Loop|The_Loop]]内使用。关于这个标签的更多信息,请看看[[WordPress:Using_Custom_Fields]]。
== Usage ==


== 用法 ==
== 用法 ==
第13行: 第7行:
%%% <?php the_meta(); ?> %%%
%%% <?php the_meta(); ?> %%%


%%% <?php the_meta(); ?> %%%
== Example ==
== 例子 ==
== 例子 ==
&lt;p&gt;Meta information for this post:&lt;/p&gt;
<?php the_meta(); ?>


&lt;p&gt;Meta information for this post:&lt;/p&gt;
&lt;p&gt;Meta information for this post:&lt;/p&gt;
  <?php the_meta(); ?>
  <?php the_meta(); ?>
== Parameters ==


== 参数 ==
== 参数 ==


This tag has no parameters.
这个标签没有参数。
这个标签没有参数。
== Related ==


== 相关的==
== 相关的==


{{Tag Post Tags}}
{{No Param Tag Footer}}
{{标签文章标签}}
{{标签文章标签}}


{{没有Param标签页底文字}}
{{没有Param标签页底文字}}

2008年7月19日 (六) 10:19的最新版本

描述[ ]

为当前文章显示meta "key:value" pairs,或者post-meta的一个无序列表。必须在The_Loop内使用。关于这个标签的更多信息,请看看WordPress:Using_Custom_Fields

用法[ ]

%%% <?php the_meta(); ?> %%%

例子[ ]

<p>Meta information for this post:</p>

<?php the_meta(); ?>

参数[ ]

这个标签没有参数。

相关的[ ]

the_ID, the_title, the_title_attribute, single_post_title, the_title_rss, the_content, the_content_rss, the_excerpt, the_excerpt_rss, previous_post_link, next_post_link, posts_nav_link, the_meta,

模板:没有Param标签页底文字