• I’m trying to display the post meta data for a single post in the sidebar, but only some of the meta data displays.

    I have:

    <p class="postmetadata alt">Posted on <?php the_time('jS F, Y') ?> by <?php the_author() ?> in <?php the_category(', ') ?> <?php the_tags('and tagged with: ', ', ', '.'); ?> <?php edit_post_link('Edit this entry.'); ?></p>

    Which displays within the Loop as, for example:

    Posted on 9th February, 2009 by Someone in News and tagged with: Various Tags. Edit this entry.

    but only displays as:

    Posted on 9th February, 2009 by in News Edit this entry.

    in the sidebar.

    Should I be setting up a baby Loop here? It seems a little odd that some of the meta data should display and the rest disappear, and the Codex’s Post Meta Data Section page doesn’t indicate that this is necessary.

    Any help is appreciated.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Post meta data in sidebar incomplete’ is closed to new replies.