Archived topic
Text after "send a comment"
3 replies · Started by Diego Fernando on May 23, 2018
Hello. Thanks for the help!
I'm trying put a text after the title "send a comment" or after text box. See the example: https://ibb.co/b9ri38 How can i do it?
In addition to this, I would like to place a checkbox with the privacy policy.
They will already know that everything is to fulfill the GDPR.
Thanks!
Hi Diego,
you can use this snippet to add content below the comment button
add_action('comment_form', 'db_add_comment_content');
function db_add_comment_content() {
$commenter = wp_get_current_commenter();
echo '<p>my content below comment box</p>';
}
Currently i do not know of a way of editing the GDPR checkbox that is being added by WordPress. You could always add link to the above function.
Hello David.
Where I should put that snippet?
Thanks!
Hi Diego, few options described here. The Code Snippets option is the easiest.