[Support request] Text after "send a comment"

Home Forums Support [Support request] Text after "send a comment"

Home Forums Support Text after "send a comment"

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #582786
    Diego Fernando

    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!

    GeneratePress 2.1.2
    #582809
    David
    Staff
    Customer Support

    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.

    #582823
    Diego Fernando

    Hello David.

    Where I should put that snippet?

    Thanks!

    #582827
    David
    Staff
    Customer Support

    Hi Diego, few options described here. The Code Snippets option is the easiest.

    https://docs.generatepress.com/article/adding-php/

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.