One Category
-
I am creating an archive page. I am using the loop to display: post date and post title. I have posts that have between 2 to 3 categories assigned to them each at any given time. Though, I only have two kinds of posts, ‘articles’ and ‘links’ which are one of the categories assigned to each post.
So, what I am looking to do is; display on the archive page: post date, post title and either ‘article’ or ‘links’. I’m guessing I need to query somehow whether or not each post has ‘article’ or ‘links’ assigned to it and then echo that result? I am just lost at how to do that.
I should also note, I already have the date and title of each post working on the archive page. I am just looking to add the category display as well.
Thoughts?
The topic ‘One Category’ is closed to new replies.