I’ve been looking through the codex / past projects / the internet, and I can’t seem to find what I’m looking for. Maybe someone here can help?
I am making a category template. I need all the posts in the current category to be ordered by comment count. I figure I can pull the current category ID into a variable and then throw in an arguments array.
The sticker? I can’t seem to pull the current category ID, I know this is probably easy, but its eluding me. Suggestions? Help?
- The topic ‘Orderby comment count…’ is closed to new replies.