[Resolved] How to get it to list the Category name taken FROM the file?
I’ve created a category-3.php to show my entry titles alphabetically whenever category 3 is accessed. But how can I force it to list a category title outside a loop?
For instance, I want it to say:
Category 3 <–taken from the category file
Instead, it’s showing:
Category 3 <–Taken from the post
Of course, it’s doing that because it’s in the loop, but outside the loop it shows up “uncategorized.” Any ideas how to force it to list a category name within text?
Here’s what it’s doing: http://www.masellis.com/?cat=3
- The topic ‘[Resolved] How to get it to list the Category name taken FROM the file?’ is closed to new replies.