
How to add a cookie popup on your WordPress website?
wpdevcodes
- 47
Ever since GDPR came into effect, it has bought changes to people’s perception of privacy and data security. Website owners dealing with clients in the EU region must ensure that their website complies with GDPR guidelines. As a result many websites now display cookie popups and banners containing information about cookie usage on the website.
GDPR requires you to obtain consent from your site visitors for loading cookies on your website.
If you’ve landed on this page, it means you need help adding a cookie popup to your WordPress website.
In this article, we will discuss how to add a cookie popup on your website using a WordPress GDPR cookie plugin. So wasting no time, let’s dive in.
Follow these steps to add a cookie popup to your WordPress website
Step 1: Install GDPR Cookie plugin in WordPress
Open your WordPress dashboard.
Go to Plugins > Add New.
Search for the CookieYes GDPR Cookie Compliance plugin

Install and Activate the plugin.
Step 2: Configuring WordPress GDPR plugin
Go to GDPR Cookie Consent > Settings > General.
Enable the cookie bar.
Select the type of law you want to comply with.
Enable or disable the auto-hide cookie bar options.

Click on Update Settings.
Step 3: Enabling Cookie popup in WordPress
Go to GDPR Cookie Consent > Settings > Customize Cookie bar.
Add a Message Heading and Message for the cookie popup.
Select a color for the cookie popup and the text.
Set a font style for cookie popup message.

Select Show cookie bar as Popup.
Go to the Revisit consent tab.
Check the Enable revisit consent widget checkbox.
Click on Update Settings.
Step 4: Previewing Cookie Popup in WordPress
Go to your website’s home page.
There you can see the cookie popup message.
47 thoughts on “How to add a cookie popup on your WordPress website?”
Comments are closed.