Codex

Template Tags/the meta

Contents

Description

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.

Usage

 <?php the_meta(); ?> 

Parameters

This tag has no parameters.

Example

<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>

Related

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.