junejanean
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Themes and Templates
In reply to: Same category titles on every single post page – please helpThat worked! Thanks so much!
Forum: Themes and Templates
In reply to: Same category titles on every single post page – please helphere’s a link to a single post page as well:
Forum: Themes and Templates
In reply to: Same category titles on every single post page – please helpThanks Esmi for your reply.
I want to show the different categories that the post has been appointed.Do I just need to put the code within the loop? If so, where would be the appropriate place?
Here’s my loop for a single post:
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div id="post-<?php the_ID(); ?>" class="single-post"> <h2 class="title"><?php the_title(); ?></h2> <h3 class="author">By <?php the_author() ?></h3> <?php the_content(); ?> <?php the_tags( '<p class="tags"><strong>TAGS:</strong ', ', ', '</p>'); ?> </div> <div class="comments-template"> <?php comments_template(); ?> <?php endwhile; else: ?> <p>Sorry, no posts matched your criteria.</p> <?php endif; ?> </div>thanks for your help!
Viewing 3 replies - 1 through 3 (of 3 total)