Support » Themes and Templates » Author and tags not displaying in sidebar

Viewing 1 replies (of 1 total)
  • I am trying to display the Author and Tags in my sidebar.

    And which specific template tags would this be?

    Many require use within The Loop, and the sidebar would tend to fall outside of that. If this is the case, try scoping the $post object to global first before using any post loop template tags outside of The Loop:

    <?php global $post; ?>
    <?php the_author(); ?>
    <?php the_tags(); ?>
    etc...

Viewing 1 replies (of 1 total)
  • The topic ‘Author and tags not displaying in sidebar’ is closed to new replies.