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?
1 Answer
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 !