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 to add different custom fields to comments that belongs to different user group, and display different types of comments in different ways. But WP has some default comment types that shows the type column probably is not for this job. Would anybody make this clear for me?

share|improve this question
    
Read - Custom Comment type, maybe ? –  amit Aug 9 '12 at 10:25
    
They suggested using custom post types instead. But didn't point if it is legal to create a new comment type. –  Jenny Aug 9 '12 at 10:48

1 Answer 1

up vote 1 down vote accepted

Taking a quick look at comments.php, I can say - using custom comment type is so far legal, however I didn't played with this yet but you can, and post back with your results if you found any illegal stuff in this.

I found on codex the get_comments() function is accepting comment type as argument, so you'll not be having any problems with accessing comments of type foo.

Also other functions are looking clean to use with custom comment type.

Note - Take necessary precautions ( BackUp ) before doing any changes to live site !

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.