How to display latest posts from first cat id??
-
Hi. I’m helping to set up a blog and on our single post pages we want to display the latest 2 posts from that category (excluding the current) in the sidebar.
Since I want it on all single pages, I can’t specify the name or id. And to make matters even more complicated, almost all posts are in multiple categories.
So what I want it something that outputs the latest 2 from the first cat id only, excluding the current post.
I know how to do all of these things singularly, but I am having a lot of trouble putting them all together. Can anyone help me out? Thanks in advance.
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘How to display latest posts from first cat id??’ is closed to new replies.