Codex tools: Log in / create account
Contents |
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.
<?php the_meta(); ?>
This tag has no parameters.
<p>Meta information for this post:</p> <?php 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)