How to Create GDPR Compliant Forms in WordPress

Do you want to create GDPR compliant forms in WordPress? European Union’s new GDPR law requires explicit user consent to store personal information, so users can have more personal control on their data stored on websites. In this article, we will show you how to easily create GDPR compliant forms in WordPress.

How to add GDPR compliant forms in WordPress

What is GDPR?

The General Data Protection Regulation (GDPR) is a European Union (EU) law that became effective on May 25th, 2018. The purpose of this new law is to give EU citizens control over their personal data and change how companies and businesses handle data privacy around the world.

For more details, see our ultimate guide to WordPress and GDPR compliance which will answer all your GDPR related questions in plain English.

A typical WordPress site may collect user’s personal information in a number of ways. One of which is by adding forms to the site. Most forms collect personal information, and you may want to make sure that your WordPress forms are in compliance with the GDPR.

What is Required to Make a Form GDPR Compliant

In order to make your WordPress forms GDPR compliant, you will need to add the following features:

  • Ask users to give explicit consent for storing and using their personal information.
  • Allow users to request access to their own personal information stored on your website.
  • Allow users to request deletion of their data from your website.

Having said that, let’s take a look at how to easily create GDPR compliant WordPress forms.

How to Make a GDPR Compliant Form in WordPress

We recommend using WPForms to make GDPR compliant WordPress forms. It is the best contact form plugin for WordPress and comes with built-in GDPR enhancement features including:

  • 1-click GDPR Agreement field for your forms
  • GDPR compliant data retention best practices
  • Easy entry management system to quickly find, export, or delete user data upon request

Here is how you can easily create a GDPR compliant form in WordPress using WPForms.

First, you need to install and activate the WPForms plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you need to visit WPForms » Settings page and scroll down to the GDPR section. There, you need to check the box next to GDPR Enhancements option.

Enable GDPR enhancements

Enabling GDPR Enhancements option will reveal two more GDPR related settings.

The first one, ‘Disable User Cookies’ will stop WPForms from storing user sessions. This cookie contains a random unique identifier that helps WPForms add features like related entries, form abandonment, and geolocation. Disabling it will also disable those features.

The second option ‘Disable User Details’ will stop WPForms from storing user IP addresses and browser information.

Both of these settings are optional, and you can check them if you feel that you don’t need these features.

Don’t forget to click on the ‘Save Settings’ button store your changes.

WPForms is now ready to create a GDPR compliant forms in WordPress. You can now go to WPForms » Add New page to create a new form.

You will be asked to enter a title for your form and select a template. These templates are ready-made forms that you can use as a starting point. In this example, we are creating a simple contact form.

Form title and template

This will launch the WPForms builder interface. You will see your form preview in the right column, and on the left you will see all the fields that you can add to your form.

GDPR Agreement field in WPForms

Click on the ‘GDPR Agreement’ field to add it to your form. You will now see it appear at the bottom of your form. You can click on it to change its settings.

GDPR agreement field settings

You can change the title of the form field, agreement text, and use the description box to add details like a link to your privacy policy or terms and conditions pages.

Note: The GDPR Agreement field is always a required field, and it cannot be pre-checked to comply with the GDPR law. You can only add one GDPR agreement field to each form.

Once you are satisfied with the form, click on the save button on top to store your changes. You can now close the form builder.

Adding your GDPR compliant form to WordPress posts and pages

WPForms allows you to easily add forms anywhere on your website. Simply create a new page / post or edit an existing one. On the post edit screen, you will notice the new ‘Add Form’ button.

Add form button

Clicking on it will bring up a popup where you can select the form you created earlier. Simply click on the ‘Add form’ button again, and you will now see the contact form shortcode in your post editor.

Select and insert form in a WordPress post or page

You can now save or publish your post/page and click on the preview button to see your GDPR ready WordPress form in action.

WordPress form with GDPR agreement field

Managing Data Access and Deletion Requirements with WPForms

One of the requirements for GDPR compliance is to give users access and allowing them to request deletion of their data.

To do that, you can create a ‘Data access/delete form’ and add it to your privacy policy page. Users who wish to access their stored data or want it to be deleted can use that form to send you a request.

WPForms comes with an excellent entry management system that allows you to quickly find any data submitted via your forms.

You can access all form entries by visiting WPForms » Entries page and selecting the form you wish to view from the top left corner of the screen.

Managing data in WPForms

WPForms will show you all entries submitted using that form. You can search for a form entry by entering a name, email, ip address, or keyword.

You can also delete individual entries or click on the view button to see all data stored for that entry. On the single entry page, you can even export that single entry as a CSV file.

Managing a single entry

We hope this article helped you learn how to easily create GDPR compliant forms in WordPress. You may also want to see our article on how to track user engagement in WordPress using Google Analytics.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Create GDPR Compliant Forms in WordPress appeared first on WPBeginner.

Source: Wordpres

The post How to Create GDPR Compliant Forms in WordPress appeared first on TuneMaster.ml.

Huawei Mate 10 Pro has “OK Google” voice issue for some users

Huawei Mate 10 Pro owners have been experiencing issues with the “OK Google” voice activation for Google Assistant. A user first reported the problem in the Google Product forums on April 30, though some people say they have been experiencing it for months.

According to the original poster, the bug means that some of the Voice options are greyed in the settings menu, meaning the “OK Google” hotphrase used to launch Google Assistant doesn’t work. Dozens of users say they have the same issue.

A screenshot of the Voice options menu on the Huawei Mate 10 Pro. Google Product Forums

Both Huawei and Google support members have at acknowledged the problem, but a fix is still to be rolled out.

In a message said to have been pulled from a Huawei HiCare live chat, a Huawei support agent apparently said:

Editor’s Pick

“[The issue] is caused by incompatibilities between Google Play services V12.6.73 and Huawei phones. Huawei and Google have come up with the solution. Please stay tuned for version updates of Google Play services.

If accurate, this wouldn’t be the first time Huawei products haven’t played nice with Google Play Services: only a week ago, we reported on multiple Huawei devices seeing “Google Play Services are updating” errors.

We can’t offer much in the way of a solution for now, and we don’t know when one may arrive, but we have reached out to Huawei and Google on the matter and will update this article should we receive a response.

Thanks, Mark Porter.

Source: Android Zone

The post Huawei Mate 10 Pro has “OK Google” voice issue for some users appeared first on TuneMaster.ml.

Deal: Up to 80% off Anker USB car and wall chargers at Amazon

An Anker car charger as part of the USB charger deals running on Amazon.com today. Amazon

If you’re looking for some USB charger deals, Amazon is running three awesome ones for its Deal of the Day series.

The three products come from Anker, and after the discounts you stand to save up to 80 percent off the list prices.

The deepest discount of 80 percent is for the Anker Quick Charge 2.0 in-car USB charger. While we are way beyond Quick Charge 2.0 at this point, the fact that this charger has a small profile, two USB ports, and the ability to charge your devices quickly is pretty cool. And at only $11.99 with one-day shipping for Prime members, it’s simply a no-brainer.

If you’re looking for an in-car charger that’s a little more robust when it comes to its features, Anker is also offering the Roav by Anker Car Charger with FM Transmitter and Bluetooth 4.2 Receiver. This device has a nifty trick: you can use an Anker app to locate your car. If you park in a city you haven’t visited before, it can sometimes be difficult to remember where you parked and navigate back to it. Granted, you can already do this with other apps, including Google Maps, but it’s a neat feature nonetheless.

The Roav by Anker also has a built-in FM transmitter for cars that don’t have Bluetooth built-in. Essentially, this little unit does it all and will only cost you $19.99 with free one-day shipping, a savings of 51 percent.

And finally, if you don’t need anything for your car but just need something for the house, Anker has you covered there, too. The Anker PowerPort 5 is a 40W/8A 5-port USB charger that features smart-charging capabilities. The “smart” in smart-charging means that the unit will detect what kind of device you’ve hooked up and alter its charging pattern appropriately to deliver the fastest and safest charge it can get. Plus, it’s a small unit so it won’t take up too much space.

These deals will only go for the next 12 hours or so; we recommend buying now before stock (or time) runs out!

Source: Android Zone

The post Deal: Up to 80% off Anker USB car and wall chargers at Amazon appeared first on TuneMaster.ml.

How to Add a GDPR Comment Privacy Opt-in Checkbox in WordPress

Do you want to add a comment privacy optin checkbox in WordPress? European Union’s new GDPR law requires explicit consent for storing user’s personal information. If you have comments enabled on your website, then you need to add a comment privacy checkbox to comply with the new law. In this article, we will show you how to add a GDPR comment privacy opt-in checkbox in WordPress.

How to add comment privacy optin checkbox in WordPress

When and Why Add a Comment Privacy Optin Checkbox in WordPress?

Recently, a new European Union law called GDPR (The General Data Protection Regulation) has become effective. The purpose of this law is to give EU citizens control over their personal data and change the data privacy approach of organizations across the world.

To learn more, see our ultimate guide to WordPress and GDPR compliance which answers all your questions in plain English.

WordPress recently addressed GDPR compliance in the latest 4.9.6 release. If you haven’t updated yet, then you need to immediately update to the latest WordPress version.

One of the ways WordPress stores and uses personal information is in the comment form. When a user leaves a comment on your website, their name, email address, and website information is stored in a browser cookie. This cookie allows WordPress to automatically fill in user’s information in the comment form on their next visit.

With WordPress 4.9.6, the default WordPress comment form will now show a comment privacy opt-in checkbox. All WordPress themes that use the default WordPress comment form will now automatically show this checkbox.

Comment privacy checkbox in default WordPress comment form

If your site is showing the comment privacy checkbox, then you don’t need to read further. However if the comment checkbox is not showing on your site, then you need to continue reading, and we will show you how to add comment privacy checkbox in WordPress.

Adding Comment Privacy Optin Checkbox in WordPress

First, you need to make sure that you are using the latest version of WordPress and your theme. Simply go to Dashboard » Updates page to check for updates.

Check for WordPress and theme updates

If an update is available for your current theme or WordPress, then go ahead and install it. Next, check your website’s comment form to see if the update added the comment privacy checkbox.

If both your theme and WordPress are up to date, and you still can’t see the comment privacy checkbox, then this means that your WordPress theme is overriding the default WordPress comment form.

You can ask your theme author to fix this issue by opening a support ticket. You can also try to fix it yourself until your theme author releases an update.

There are two ways you can add the comment privacy checkbox to your WordPress theme. We will show you both methods, and you can try the one that works for you.

Both methods require you to add code to your WordPress theme files. If you haven’t done this before, then see our guide on how to copy and paste code in WordPress.

Method 1. Add comment privacy checkbox to your theme’s comment form

This method is recommended because it tries to protect your theme’s comment form style and layout.

First, you will need to find the code used to override the default WordPress comment form. Normally, you can find it in the comments.php or functions.php file in your theme folder.

You will be looking for a code using the 'comment_form_default_fields' filter. This filter is used by themes to override the default WordPress comment form.

It will have lines for all of your comment form fields in a specific format. Here is an example code to give you an idea of what you would be looking for:

$comments_args = array(
                // change the title of send button 
                'label_submit'=> esc_html(__('Post Comments','themename')),
                // change the title of the reply section
                'title_reply'=> esc_html(__('Leave a Comment','themename')),
                // redefine your own textarea (the comment body)
                'comment_field' => ' 
                <div class="form-group"><div class="input-field"><textarea class="materialize-textarea" type="text" rows="10" id="textarea1" name="comment" aria-required="true"></textarea></div></div>',

                'fields' => apply_filters( 'comment_form_default_fields', array(
                            'author' =>'' .
                              '<div><div class="input-field">' .
                              '<input class="validate" id="name" name="author" placeholder="'. esc_attr(__('Name','themename')) .'" type="text" value="' . esc_attr( $commenter['comment_author'] ) .
                              '" size="30"' . $aria_req . ' /></div></div>',

                            'email' =>'' .
                              '<div><div class="input-field">' .
                              '<input class="validate" id="email" name="email" placeholder="'. esc_attr(__('Email','themename')) .'" type="email" value="' . esc_attr(  $commenter['comment_author_email'] ) .
                              '" size="30"' . $aria_req . ' /></div></div>',

                            'url' =>'' .
                              '<div class="form-group">'.
                              '<div><div class="input-field"><input class="validate" placeholder="'. esc_attr(__('Website','themename')) .'" id="url" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) .
                              '" size="30" /></div></div>',
                            )
                    ),
            );

        comment_form($comments_args);   ?> 

In this code, you can notice that comment_form_default_fields filter is used to modify the author, email, and URL fields. Inside the array, it uses the following format to display each field:

'fieldname' => 'HTML code to display the field', 
'anotherfield' => 'HTML code to display the field', 

We will add the comment privacy optin checkbox field towards the end. Here is what our code will look like now:

$comments_args = array(
                // change the title of send button 
                'label_submit'=> esc_html(__('Post Comments','themename')),
                // change the title of the reply section
                'title_reply'=> esc_html(__('Leave a Comment','themename')),
                // redefine your own textarea (the comment body)
                'comment_field' => ' 
                <div class="form-group"><div class="input-field"><textarea class="materialize-textarea" type="text" rows="10" id="textarea1" name="comment" aria-required="true"></textarea></div></div>',

                'fields' => apply_filters( 'comment_form_default_fields', array(
                            'author' =>'' .
                              '<div><div class="input-field">' .
                              '<input class="validate" id="name" name="author" placeholder="'. esc_attr(__('Name','themename')) .'" type="text" value="' . esc_attr( $commenter['comment_author'] ) .
                              '" size="30"' . $aria_req . ' /></div></div>',

                            'email' =>'' .
                              '<div><div class="input-field">' .
                              '<input class="validate" id="email" name="email" placeholder="'. esc_attr(__('Email','themename')) .'" type="email" value="' . esc_attr(  $commenter['comment_author_email'] ) .
                              '" size="30"' . $aria_req . ' /></div></div>',

                            'url' =>'' .
                              '<div class="form-group">'.
                              '<div><div class="input-field"><input class="validate" placeholder="'. esc_attr(__('Website','themename')) .'" id="url" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) .
                              '" size="30" /></div></div>',

// 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>',
                            )
                    ),
            );

        comment_form($comments_args);   ?> 

Privacy checkbox in a custom WordPress comment form

Method 2. Replacing your theme’s comment form with WordPress default

This method simply replaces your theme’s comment form with the default WordPress comment form. Using this method can affect your comment form’s appearance, and you may have to use custom CSS to style your comment form.

Edit your theme’s comments.php file and look for the line with the comment_form() function. Your theme will have a defined arguments, function, or a template inside it to load your theme’s custom comment form. Your comment_form line will look something like this:

<?php comment_form( custom_comment_form_function() ); ?>


You will need to replace it with the following line:


<?php comment_form(); ?>

Don’t forget to save your changes and visit your website. You will now see the default WordPress comment form with the comment privacy optin checkbox.

Default WordPress comment form

We hope this article helped you learn how to add the GDPR comment privacy optin checkbox in WordPress. You may also want to see our tips on getting more comments on your WordPress blog posts.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Add a GDPR Comment Privacy Opt-in Checkbox in WordPress appeared first on WPBeginner.

Source: Wordpres

The post How to Add a GDPR Comment Privacy Opt-in Checkbox in WordPress appeared first on TuneMaster.ml.