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.

Is it possible in wordpress to display comments and comment form on custom post type, and how to do that?

Thanks in advance.

share|improve this question
    
possible duplicate of Comments not showing in custom post type - Wordpress –  Chip Bennett Oct 1 '11 at 21:30

1 Answer 1

up vote 1 down vote accepted

1) add "comments" to the supports array when registering the post type.

Register Post Type

2) add the comments_template() function inside the loop of the single.php template and you are good to go.

Add Comment Template To Post

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.