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 to create a comment template for custom post types? I want the wording for comments on a custom post type to be different for wording on a regular wordpress post.

I tried comments-posttype.php but that didn't seem to work.

share|improve this question
    
Could you please go back and actually work on your old questions (comment, comment, comment!). Thanks. –  kaiser Oct 16 '12 at 17:07

1 Answer 1

up vote 1 down vote accepted

In the single template of the custom post type i.e. "single-posttype.php" (create one if it doesn't exist). In the function comments_template() the first parameter represents the filename, so make it comments_template('/comments_file_name.php');

Reference- http://codex.wordpress.org/Function_Reference/comments_template

share|improve this answer
    
Works great! Thanks –  Talon Oct 16 '12 at 20:52

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.