the_meta

Sponsored Link

現在の記事の”key:value”のペア、またはpost-metaのメタの順不同リストを表示します。ループ内で使用する必要があります。このタグの詳細については、カスタムフィールドを参照してください。

Sponsored Link

Displays an unordered list of meta “key:value” pairs, or the post-meta, for the current post. Must be used from within The Loop. For more information on this tag, see Custom Fields.

the_metaのテンプレートタグ使用方法

<?php the_meta(); ?> 

the_metaのパラメーター

このタグには、パラメーターがありません。

This tag has no parameters.

この記事のメタ情報:

Meta information for this post:

<?php the_meta(); ?>

the_metaからの出力:

Output from the_meta:

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

関連テンプレートタグ

the_ID, the_title, the_title_attribute, single_post_title, the_title_rss, the_content, the_content_rss, the_excerpt, the_excerpt_rss, wp_link_pages, next_post_link, next_posts_link, previous_post_link, previous_posts_link, posts_nav_link, sticky_class, the_meta

Custom Fields: the_meta, get_post_meta, add_post_meta, update_post_meta, delete_post_meta, get_post_custom, get_post_custom_values, get_post_custom_keys (See Also: post_meta Function Examples)
See also index of Function Reference and index of Template Tags.

Sponsored Link