how can I create a custom comment form, for a custom post type?

My final idea is to be able to add fields to qualify with stars.

  • in the support configuration you can set comments (codex.wordpress.org/Function_Reference/register_post_type) I never use it then I don't know which work remains to make in order to be useful. – mmm Nov 15 '17 at 15:09
  • @mmm this is for create custom post type, I need add custom fields for form commets.. – Juan David Nov 15 '17 at 15:21
  • the form is created by the function comment_form (in the file wp-includes/comment-template.php). Look this function, there are a lot of action and filter that you can use to custom the form. – mmm Nov 15 '17 at 15:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.