How to Display Cookie Notice


After the recent rollout of GDPR, it has become quite mandatory for all the website owners to make changes in their privacy policy and cookie policy page. Hence, as a result, there are so many website owners who started displaying cookie policy on their website. Just in case, if you are wondering how to Display Cookie Notice on WordPress Without any Plugins? Then read on.

In this article, we will be talking about the steps that you need to follow to display cookie notice on your website. However before we go ahead and talk about the steps, let us talk about what is GDPR and why you should display a cookie notice. So let’s just head into the topic without wasting much of the time:

What is GDPR?

GDPR stands for the General Data Protection Regulation. It is a legal framework issued by the European Union or EU. The legal framework sets a guideline regarding the collection and processing of personal information of individuals within the European Union.

Also, it sets a principal for the data management and the rights of the individual. In addition to that if any online property who misuses the data of the individuals. Then they have to pay fines based on their revenues.

The GDPR law applies to all the companies that deal with the date of EU citizens. Even if you are directly not collecting date of EU citizens directly. It is still essential for you to safeguard your online properties from the law.

So that was a quick guide to the GDPR. Now coming to our next question that says Why it is essential to display a cookie notice, so let us answer the question for you.

Why is it important to display a cookie notice?

If you are not directly collecting date of EU citizens, then you still need to update your cookie policy. Because whenever you visit a website, the website collects some data about you in the form of a cookie. So if any EU citizen visits your website, then your website will collect some data about that EU citizen as well. Hence it is essential to be clear about the cookie policy.

Although, cookie policy is nothing but an explanation on why you are going to use cookies on your website. Also how the cookie is going to collect and store the data.

Now that you know why it is essential to display cookie notice. Let’s move to our main question which says, How to Display Cookie Notice on WordPress Without any Plugins?

How to Display Cookie Notice on WordPress Without any Plugins:

Step 1: First of all go to the to generate the cookie notice.

Step 2: Over here you have to choose a cookie notice theme. The tool offers 6 different themes. Just select your most preferred one and click on the continue button.


Step 3: In the next step, you will get customise option. Using this option you will be able to customise the cookie notice text, Accept button text and more info button text. Although, it is not an important step that you need to follow, as the tool already has everything setup. Also, you will need to link to your website’s existing cookie page. Once everything is done, simply click on the continue button and you are all set.

customize .jpg

Step 4: After that the tool will offer you a javascript code. Simply copy it and you are done.


Step 5: Now the question is which type of website you are having? Is it a custom code one? Or it is built on WordPress. If it is a custom coded one, then paste the code just before the </head> tag and you are done. But if it is built on WordPress, then login to your WordPress dashboard.

Step 6: From your WordPress’s sidebar menu select the Appearance and go to the Editor option.

Step 7: Over here you have to look for the Theme header.php file.

theme file.jpg

Step 8: After opening the Theme header.php file, you have to look for the </head> tag. Then just before it simply paste the javascript code and save it. Once done, you are all set.

Now simply go to your homepage and see if there is any cookie notice page or not. If you get to see a cookie notice page, then you are all set. Else try to paste the code in a right manner.

cookie notice.jpg

You should also know the fact that displaying a cookie notice is not the only thing that you need you to do. As well as you have to update your privacy policy page and have a cookie policy page. Just in case if you do not have any of these pages and trying to figure out how to do it.

Then let us guide you in this case as well. There are quite a lot of online tools are available which lets you generate a privacy and cookie policy page free of cost.

One of the popular websites is the you can use this website to generate privacy page for your website. Just head over to the website and enter some of your website details and explain how your website works. And you will be good to go.

In order to generate cookie policy for your website, you can try out the It offers cookie policy related to the EU Cookie Law. Just head over to the website and enter all the details and you will be good to go.

Final Words:

So that was all for your question which says how to Display Cookie Notice on WordPress Without any Plugins. Now go ahead and try the steps out and see if it is working for you or not.

However, it is really not necessary to display cookie notice on your website. Updating the privacy policy page and cookie policy page will do the job alone. But it is always good to stay on the safer side.

Anway, if you have any more questions, then do feel free to leave a comment below.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More