Hallo Leute!
Ich benutze die aktuelle WP-Version und das Theme "[size=10]Red Train 1.0 by Vladimir Simovic[/SIZE]" .
Ich wollte gerne das Plugin Math Comment Spam Protection in das [size=10]WP-ContactForm (de)[/SIZE] Plugin, als zusätzlichen Spam-Schutz installieren.
Leider weiß ich nicht genau, wo ich diesen Quellcode in der wp-contactform.php einfügen soll?!
Quellcode Plugin Math Comment Spam Protection
PHP
<?php
/****** Math Comment Spam Protection Plugin ******/
if ( function_exists('math_comment_spam_protection') ) {
$mcsp_info = math_comment_spam_protection();
?> <p><input type="text" name="mcspvalue" id="mcspvalue" value="" size="22" tabindex="4" />
<label for="mcspvalue"><small>Spam protection: Sum of <?php echo $mcsp_info['operand1'] . ' + ' . $mcsp_info['operand2'] . ' ?' ?></small></label>
<input type="hidden" name="mcspinfo" value="<?php echo $mcsp_info['result']; ?>" />
</p>
<?php } // if function_exists... ?>
Könntet ihr mir bitte Hilfestellung geben?