The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Captcha by BestWebSoft
[resolved] captcha under comments (3 posts)

  1. josuch
    Posted 3 years ago #

    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. arewecrazyorwhat.net



  2. bestwebsoft
    Plugin Author

    Posted 3 years ago #

    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.

  3. cbmainz
    Posted 3 years ago #


    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?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Captcha by BestWebSoft
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic