It should work ok.
What are your MC settings?
Nevermind. Whatever other settings you have it should be displayed.
The MC field is displayed using comment_form_after_fields action hook. Can you try to add something using this?
We’d now if you have this action fired in your comments form.
Thread Starter
tdsm
(@tdsm)
Looks like something isn’t playing nicely. If I add the following code, nothing appears…
function my_comment_form_after_fields() {
echo "TESTING 1 2 3";
}
add_action('comment_form_after_fields','my_comment_form_after_fields');
If I add do_action(comment_form_after_fields); after comments_template(); then the captcha and my “TESTING 1 2 3” both appear
That’s the problem. This should be in the comments template already. Adding this after the form will not take any effect.
Your theme / plugins might be modifying this.
Thread Starter
tdsm
(@tdsm)
Ahhh, figured it out…
I was using comments_template()
Basically, if you don’t include a comments.php template in your theme, WordPress uses its own default template which does not seem to include the necessary actions (perhaps for backward compatibility) the plugin requires to hook into.
If you use comment_form(), the captcha works but this won’t display the comments list, so my solution was to create a very basic comments.php template and call comments_template();
<div id="comments">
<h2>Comments</h2>
<ol class="commentlist"><?php wp_list_comments(); ?></ol>
</div>
<?php comment_form(); ?>
Perhaps it would be useful to have some sort of documentation or ‘readme’ text to explain some of the prerequisites?