To fulfil the GDPR policy, I want to add a consent checkbox under the "Post Comment" section.
I have followed the WpBeginner tutorial and put the following code in my
// Now we will add our new privacy checkbox optin 'cookies' => '<p class="comment-form-cookies-consent"><input id="wp-comment-cookies-consent" name="wp-comment-cookies-consent" type="checkbox" value="yes"' . $consent . ' />' . '<label for="wp-comment-cookies-consent">' . __( 'Save my name, email, and website in this browser for the next time I comment.' ) . '</label></p>',
The above code is putting a checkbox but I am not sure if its really doing the required thing (not storing data if unchecked).
The checkbox is not placed correctly as shown in the screenshot below. How can I change the position to put it in the correct place?
PS: I am using Activello theme.