I’m building a review / rating system for a WordPress website.
I want to avoid using a plugin as I know how to code and prefer custom solutions to readymade ones.
I’ve been playing around for a bit and there seem to be two ways to do it:
#Using comments
I basically hijack comments to build the review system, and add some extra custom fields for the rating. It’s nice as it has some security features out of the box, and also the moderation seems easier.
#Custom post type
I create a new custom post type “Review”, and a form on the review page will create a new custom post for each review. It might be more flexible but moderation, etc might be a little more tedious unless I also develop moderation tools.
Curious to hear about any feedback, especially from someone who has already built such a feature.
Cheers!
[ad_2]