Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

Example;

Category
- 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
1  
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

1 Answer 1

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

 
discard

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.