• Resolved yondermann

    (@yondermann)


    Hi,
    I’ve been trying to implement some changes on my site to be GDPR compliant and noticed that KALE theme is overwriting wordpress default GDPR compliance checkbox on the comment form. Are you planning to issue an update about this in the near future?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there,

    Thank you for getting in touch with us and apologize for the lack of GDPR checkbox.

    We’ll fix that issue soon. However in the meantime please open wp-content/themes/kale/comments.php file and find these lines:

    $fields =  array(
        'author'    =>  '<div class="row"><div class="col-sm-6"><div class="form-group form-group-author"><label class="form-label form-label-author">'. esc_html__( 'Name', 'kale' ) . ($req ? '<span class="asterik">*</span>' : '') . '</label><input type="text" class="form-control" id="author" name="author" placeholder="" value="' . esc_attr( $commenter['comment_author'] ) . '" /></div>',
    
        'email'     =>  '<div class="form-group form-group-email"><label class="form-label form-label-email">'. esc_html__( 'Email Address', 'kale' ) .($req ? '<span class="asterik">*</span>' : '') . '</label><input type="email" class="form-control" name="email" id="email" placeholder="" value="' . esc_attr(  $commenter['comment_author_email'] ) . '" /></div>',
        
        'url'       => '<div class="form-group form-group-url"><label class="form-label form-label-url">' . esc_html__( 'Website', 'kale' ) . '</label><input type="text" class="form-control" name="url" id="url" placeholder="" value="' . esc_attr( $commenter['comment_author_url'] ) . '" /></div></div></div>'
    );

    Then replace them with this:

    $fields =  array(
        'author'    =>  '<div class="row"><div class="col-sm-6"><div class="form-group form-group-author"><label class="form-label form-label-author">'. esc_html__( 'Name', 'kale' ) . ($req ? '<span class="asterik">*</span>' : '') . '</label><input type="text" class="form-control" id="author" name="author" placeholder="" value="' . esc_attr( $commenter['comment_author'] ) . '" /></div>',
    
        'email'     =>  '<div class="form-group form-group-email"><label class="form-label form-label-email">'. esc_html__( 'Email Address', 'kale' ) .($req ? '<span class="asterik">*</span>' : '') . '</label><input type="email" class="form-control" name="email" id="email" placeholder="" value="' . esc_attr(  $commenter['comment_author_email'] ) . '" /></div>',
        
        'url'       => '<div class="form-group form-group-url"><label class="form-label form-label-url">' . esc_html__( 'Website', 'kale' ) . '</label><input type="text" class="form-control" name="url" id="url" placeholder="" value="' . esc_attr( $commenter['comment_author_url'] ) . '" /></div>',
    
        'cookies' => '<div class="form-group form-group-cookie"><input id="comment-cookies-consent" name="comment-cookies-consent" type="checkbox" value="yes"' . $consent . ' />' . '<label for="comment-cookies-consent">' . esc_html__( 'Save my name, email, and website in this browser for the next time I comment.', 'kale' ) . '</label></div></div></div>'
    );

    Hope that helps. Thank you for your time in this.

    Kind regards

    • This reply was modified 6 years, 5 months ago by jarektheme.
    Thread Starter yondermann

    (@yondermann)

    Thanks a lot it really helped a lot. It really is a quick fix and It works great!

    Hi there,

    I’m glad to hear that it’s working ??

    Would you please take some time out from your busy day to leave us a quick review here: https://www.ads-software.com/support/theme/kale/reviews/#new-post
    We’d really appreciate it ??

    Please also mark this thread as resolved.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘GDPR compliance’ is closed to new replies.