ACF to Create New Posts with reCaptcha
-
Hello, I found your plugin while researching ways to add a captcha to a front end form that creates a new post. The form uses the native post title and content (no custom fields). I created the new reCaptcha custom field and in the Location settings set to display on the same page I have the front end form. I input the correct site key and secret key. How do I get the captcha to be used on the front end form?
Also, when I save the field settings I get the warning “Cannot modify header information – headers already sent by (output started at …/acf-recaptcha/acf-recaptcha-v5.php:254) in …/pluggable.php on line 1228”. The field seems to be saving despite the error.
Thanks for the plugin and thanks in advance for any help!
acf_form(array( 'post_id' => 'new_post', 'post_title' => true, 'post_content' => true, 'submit_value' => 'Post WOD', 'new_post' => array( 'post_type' => 'wod', 'post_status' => 'publish' ) ));
- The topic ‘ACF to Create New Posts with reCaptcha’ is closed to new replies.