Eklenti olarak
https://wordpress.org/plugins/captcha/
Öneririm,
eklentisiz yapmak istiyorsanız eğer uğraşmanız gerekebilir.
--R10.NET; Flood Engellendi -->-> Yeni yazılan mesaj 19:59:24 -->-> Daha önceki mesaj 19:53:32 --
Hatta şöyle yapabilirsiniz ama tek soru olarak
<?php
add_action( 'register_form', 'ts_show_extra_register_fields' );
function ts_show_extra_register_fields(){
?>
<p>
<label for="are_you_human" style="font-size:11px">Sorunuz?<br/>
<input id="are_you_human" class="input" type="text" tabindex="40" size="25" value="" name="are_you_human" />
</label>
</p>
<?php
}
add_action( 'register_post', 'ts_check_extra_register_fields', 10, 3 );
function ts_check_extra_register_fields($login, $email, $errors) {
if ( $_POST['are_you_human'] !== "Cevap") {
$errors->add( 'not_human', "<strong>HATA</strong>: Lütfen güvenlik sorusunu doğru giriniz" );
}
}
?>