Can only get tags to display above post, not beneath
-
The code below was given in a template except I added
<p class="tags"><?php the_tags(); ?></p>
This works to display tags but only above the post.
I can find no place to put this code to display tags at the end of the posts. Every other place I put it either breaks the page or show nothing.Can you help me display tags at the end of the posts?
Thanks<!-- CATEGORY QUERY + START OF THE LOOP --> <?php while (have_posts()) : the_post(); ?> <!-- THE CONTENT --> <div class="content <?php echo $layout_class; ?>" id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="content-inner"> <p class="tags"><?php the_tags(); ?></p> <?php if (function_exists( 'the_post_format_image' )) : //Check for WP 3.6 Post Format Functionality $format = get_post_format(); else : $format = ''; endif; get_template_part( 'includes/format', $format ); ?> </div> </div> <!-- /CONTENT --> <?php endwhile; ?> <!-- /POST LOOP -->
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Can only get tags to display above post, not beneath’ is closed to new replies.