Category description outside of the loop?
Hi everyone. I’m wondering if there is a way to show the category title and description outside of the loop. What I would like to do is when a visitor goes to a category page (e.g. http://www.somesite.com/category/somecategory) the page shows the category title and description as entered in the admin section and then a list of the posts in that category. I am creating a separate template for this. I’ve looked through the category template tags and most tags either had to be in the loop or you had to hard code the category id into the template. (I dont want to have to create a separate template for each category). I’ve searched through the forum and couldn’t find a similar request. Let me know if you can help. Thanks.
- The topic ‘Category description outside of the loop?’ is closed to new replies.