PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

How I can change default Wordpress Comments form?

  1. Marcello
    Member

    Hi,
    how I can change default Wordpress Comments form with my own gravity form? I want to add some conditions before the user can post a comment (i.e.: terms of use), but I can't find an add-on like user registration.
    Thank's!
    Marcello

    Posted 12 years ago on Thursday March 15, 2012 | Permalink
  2. Gravity Forms does not have comment creation functionality built in. Out of the box it can only create WordPress Posts, not comments. There is currently no official or 3rd party add-on available for comment creation.

    If you wanted to use Gravity Forms to replace the default WordPress comment form you would need to do this as a customization. You would need to use available Gravity Forms hooks and execute custom code that you write to handle the comment creation. Which hooks you use would depend on what you are trying to accomplish.

    You would most likely be the gform_after_submission hook which is documented here:

    http://www.gravityhelp.com/documentation/page/Gform_after_submission

    That hook is executed towards the end of the form processing and can be used to execute custom code.

    Your custom code would be placed in your themes functions.php file or you would house it in a custom WordPress plugin that you create and then activate.

    Posted 12 years ago on Tuesday April 17, 2012 | Permalink

This topic has been resolved and has been closed to new replies.