Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Creating an hyperlink to the privacy page

$
0
0

Replies: 0

Hello,

I added the following code to my website to make the top bar GDPR compliant:

add_action( ‘mctb_before_submit_button’, function() {
echo ‘<label><input type=”checkbox” name=”AGREE” value=”1″ required> I agree to have my personal information transfered to MailChimp (more information)</label>’;
});

I found this code here: https://wordpress.org/support/topic/will-this-become-gdpr-compliant/

Now, my top bar is showing the following message: (checkbox) I agree to have my personal information transfered to MailChimp (more information).

The par that says: (more information) is an hyperlink, but how can I link this part to my privacy page?

Thanks


Viewing all articles
Browse latest Browse all 59525

Trending Articles