Anyone? Site is muumuse.com.
<?php the_category(', '); ? is the correct template tag to use.
Okay…it’s in my Single template as below, but nothing shows up. Any ideas?
<center><h1><?php the_title(); ?></h1></center>
<p class=”post_author”>by <?php the_author(); ?></p>
<?php the_category(‘, ‘); ?>
<div class=”format_text”>
Just found something–it’s displaying the labels when you click into an individual story, but not on the main page.
Could be a css issue with the category list inadvertently being hidden. You’ve got a validation error on the code you posted:
<center><h1><?php the_title(); ?></h1></center>
should be
<h1 style="text-align:center"><?php the_title(); ?></h1>
If there are other validation errors on the page, they could also be impacting on the category display.
Site url?
You’ve been looking at the wrong template file. single.php controls the display of single posts. Now you need to add <?php the_category(', '); ?> to index.php and archive.php. Also category.php and tag.php if you have those files too.
WORKED. Thank you so much, Esmi.