WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want the display the comments from first post of the category only.


- Post 1 (2 comments)
- Post 2 (1 comments)
- Post 3 (5 comments)

If I am reading the Post 2 or Post 3, I should see 2 comments of the first post.

How can I code this from template files?

Thanks for your helps.

share|improve this question
Are these different categories? It is not clear if Category Post 1 is a category or a post name... Please, edit the Question itself for clarifications. – brasofilo Feb 9 '13 at 4:29
thanks for correction. I updated the entry. There is 1 category and 3 posts under this category. – tewoos Feb 9 '13 at 15:58

I think, I should change the current post object in comments.php with the first post of the category. how can I do this or in any other ways is appreciated.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.