the_category doesn't list all of the categories
-
I’ve been scouring search engines and help blogs for hours, but I can’t get to a solution. ??
In my single post code (single.php), I use the following snippet to display all categories where the single / individual post belongs to:
Filed under <?php the_category(', ') ?>
Some of my posts belong to two categories, but the two categories don’t appear on the portion where the above code was placed.
Example page: https://www.pinoyengineers.com/2010/08/resolution-no-2004-211/
This post is filed under two categories: “Instruction to examinees” and “Laws”. Weird as it may seem, look at the end of the post to see the categories where it is placed:
Filed under Laws (but the link points to “Instruction to examinees”)
I want this part to appear as:
Filed under Instruction to examinees, Laws
HELP!
- The topic ‘the_category doesn't list all of the categories’ is closed to new replies.