Support » Plugin: Captcha » captcha under comments

  • Resolved josuch


    I am using the Mantra theme and the captcha box is underneath the comment box when I activate the plugin. I know others have had this problem as I’ve been working on this issue for sometime. I tried to find the thread that talks about these issues here but was unable to find it. Maybe I read about it someplace else. However, the code they said to insert didn’t work. I am really getting too much spam. Please help. I’m not a technical person but have been able to manage a couple of lines of code here and there. Here is my blog.


Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello josuch,

    You may have a theme that has not properly coded comments.php.

    The version of WP makes a difference…

    (WP2 series) Your theme must have a <?php do_action(‘comment_form’,
    $post->ID); ?> tag inside your
    /wp-content/themes/[your_theme]/comments.php file. Most WP2 themes
    already do. The best place to locate the tag is before the comment
    textarea, you may want to move it up if it is below the comment

    (WP3 series) Since WP3 there is new function comment_form inside
    /wp-includes/comment-template.php. Your theme is probably not up to
    current code to call that function from inside comments.php. WP3 theme
    does not need the do_action(‘comment_form’… code line inside
    /wp-content/themes/[your_theme]/comments.php. Instead, it uses a new
    function call inside comments.php: <?php comment_form(); ?> If you
    have WP3 and still have captcha missing, make sure your theme has
    <?php comment_form(); ?> inside
    /wp-content/themes/[your_theme]/comments.php. (look inside the Twenty
    Ten theme’s comments.php for proper example)

    Kind regards.


    how can I use captcha if I want to put it inside a custom <?php comment_form(); ?> like comment_form($comments_args); with arrays to show it under comments?


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘captcha under comments’ is closed to new replies.