Back to Support Design Your Site Cookies & Consents Banner Legacy Widget

Cookies & Consents Banner Legacy Widget

The Cookies & Consents Banner widget for classic themes adds a banner to your site that prompts visitors to consent to the tracking cookies. This guide will show you how to add the Cookies & Consents Banner Legacy Widget to your site.

💡

Themes that support the Site Editor do not use widgets, so you won’t see Appearance → Widgets in your dashboard. Instead, you can use the Cookie Consent Block.

About This Banner

When browsing sites hosted on WordPress.com, you may see a privacy banner appear across the bottom of the screen:

Cookie & privacy banner example

The banner links by default to a page with details on the information we at WordPress.com collect and may store, including an explanation of personalized advertisements. For visitors from the European Union, we will not show you ads that have been personalized to your interests (as determined by an individual cookie) until you click the “Close and accept” button.

The privacy banner will automatically display on sites that are ad-supported.

If you have one of our other paid hosting plans, then both advertising and this banner are optional. On sites with these plans, you can customize the banner to fit your needs and include your own privacy disclosures by adding the Cookies & Consents widget, as explained below, or the Cookie Consent block for sites without access to widgets. This can be useful for following the EU Global Data Protection Regulation (GDPR) or other local laws.

Note: The privacy banner will not appear on ad-supported sites until ads are actually displayed, which is usually about 30 days after the site has been published.

⚠️

Please note that it is your responsibility to ensure that you comply with the relevant applicable laws in your jurisdiction. This widget is designed to help you take steps towards this, but is not offered as a guaranteed or complete solution for compliance with the GDPR or other laws applicable to you.

Sites hosted on WordPress.com make use of cookies for a variety of different purposes. Some cookies are only set for registered WordPress.com users, whereas others are set for all visitors. We aim to collect the minimal amount of data necessary to provide our services. For more detailed information, see our dedicated Cookie Policy page and Privacy Policy.

Add the Cookies & Consents Banner

To add the widget to your site:

  1. In your dashboard, click on Appearance → Widgets.
  2. Choose the location where you’d like to place the widget on your site. Standard options include the Footer and Sidebar, but this may differ depending on your theme.
  3. Click either of the + block inserter buttons (see right) to see a list of all the available blocks and widgets.
  4. Scroll down to the Widgets section and click on the widget once to add it to your site.

For more general information, see this guide on working with widgets.

The Widgets Editor with highlights on the + Block Inserter at the top of the page and in a widget area.
Block inserter buttons

You can place it in any widget area, as the banner will display across the bottom of the screen when the site is loaded.

Note: The banner will only appear on posts or pages on your site that display the widget area where you add the widget. To display the banner on the front page of your site, be sure to add the widget to a widget area that appears there.

Customize the Cookies & Consents Widget

After adding the widget following the steps above, you can customize the following settings:

In addition to the widget, you may wish to add a link to the WordPress.com cookies policy. This can be achieved by inserting a custom link into your menu.

Further Reading About Cookies

The following external links contain helpful information about website cookies:

Was this guide helpful for you?

Not quite what you're looking for? Get Help!

Copied to clipboard!