Show archives of current post category only
Here is what I’m trying to do:
If I am viewing a post in Category Apple, I would like the sidebar to display a list of posts, by title, ONLY in Category Apple. Likewise if I’m viewing a post in Category Orange, I’d like a list of other posts by title in Orange.
I’m guessing I would use the wp_get_archives command for this, but I don’t see a way to include a “self-referencing” directive for the category.
Any help from a coding master? 🙂 Thanks!
- The topic ‘Show archives of current post category only’ is closed to new replies.