Title: Comment Form // PHP Help Needed!
Last modified: August 21, 2016

---

# Comment Form // PHP Help Needed!

 *  [jstwst](https://wordpress.org/support/users/jstwst/)
 * (@jstwst)
 * [13 years ago](https://wordpress.org/support/topic/comment-form-php-help-needed/)
 * Hi guys,
 * I’ve got a question about editing the original wordpress comment form. Let me
   first explain the problem.
 * I’m using a theme which uses a very nice custom contact-form including a very
   nice captcha form.
 * For comments, the theme uses the default wordpress comment form which can be 
   found in /wp-includes/comment-template.php
 * The thing is, I want the captcha form from the custom contact form included into
   the default comment form.
 * I’ve found out that the contact-form (to be found in one direction up: /wp-content/
   themes/THEMEHERE/includes/contact-form.php) uses the following code to display
   the captcha:
 *     ```
       if(avia_get_option('contact-form-captcha') === 'active')
       	{
       		$elements['age'] =	array('type'=>'captcha', 'check'=>'captcha', 'label'=> __('Please proof that you are human by solving the equation','avia_framework'));
       	}
       ```
   
 * Is there any way to include this captcha into the default comment form?
 * Additional information:
    [http://www.justinwust.com](http://www.justinwust.com)
   and the custom contact form with captcha: [http://www.justinwust.com/contact/](http://www.justinwust.com/contact/)
 * Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Somegirlwitha.com](https://wordpress.org/support/users/beejers/)
 * (@beejers)
 * [13 years ago](https://wordpress.org/support/topic/comment-form-php-help-needed/#post-3752691)
 * would it be easier just to use a plugin?
 * [http://wordpress.org/extend/plugins/search.php?q=captcha](http://wordpress.org/extend/plugins/search.php?q=captcha)
 *  Thread Starter [jstwst](https://wordpress.org/support/users/jstwst/)
 * (@jstwst)
 * [13 years ago](https://wordpress.org/support/topic/comment-form-php-help-needed/#post-3752707)
 * Yes, it is. But i’ve been unable to get the exact same format / markup with these
   plugins. Is the method I requested a hard one?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Comment Form // PHP Help Needed!’ is closed to new replies.

## Tags

 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [jstwst](https://wordpress.org/support/users/jstwst/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/comment-form-php-help-needed/#post-3752707)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
