WordPress: Template Tags/the meta:修订间差异
来自站长百科
无编辑摘要 |
无编辑摘要 |
||
第1行: | 第1行: | ||
== 描述 == | == 描述 == | ||
为当前文章显示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]]。 | ||
== 用法 == | == 用法 == | ||
第13行: | 第7行: | ||
%%% <?php the_meta(); ?> %%% | %%% <?php the_meta(); ?> %%% | ||
== 例子 == | == 例子 == | ||
<p>Meta information for this post:</p> | <p>Meta information for this post:</p> | ||
<?php the_meta(); ?> | <?php the_meta(); ?> | ||
== 参数 == | == 参数 == | ||
这个标签没有参数。 | 这个标签没有参数。 | ||
== 相关的== | == 相关的== | ||
{{标签文章标签}} | {{标签文章标签}} | ||
{{没有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,