This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

GDPR Consent Plugin


The best GDPR compliance available! Allows visitors to grant explicit consent for ANY feature of your site. Control activation and deactivation of plugins, content, scripts and more before WordPress is even loaded.
Helps you to truely comply with European GDPR standards.

  • Disables all plugins in WordPress at root level, when setup to work with GDPR Consent plugin.
  • Managed plugins only activate once the user gives consent
  • Manage your external scripts and inline content with GDPR consents

Quick Start Guide


  • [gdpr_consent_settings] This will render the GDPR Settings page. Options include:
    • popup (bool) TRUE/FALSE
    • open (bool) TRUE/FALSE
    • suffix (string) Can be any string, this will be appended to the #id
  • [gdpr_consent_embed]...[/gdpr_consent_embed] This will wrap Inline content and hides it as long as NO consent is given. If consent is given the content is shown. Options include:
    • title The title to render above the Inline consent block (Optional)
    • id or ids the ID or list of ID’s (comma seperated) of consents needed to Activate the content.
    • widget (BOOL) true/false (Show the widget? Or just display a Notification ‘No consent was given.” This can be configured in the WP Admin Settings)
    • suffix Can be any string, this will be appended to the #ID (maybe used to resolve conflicts or display multiple settings pages.)
  • Inline shortcode: [gdpr_consent_inactive_content] (only work within [gdpr_consent_embed]) splits the content as such; above is the Active content, below is the Inactive content. Depending on if consent was given or not it will be either the Active or Inactive content.


(This feature is for Developers)
You can Programmatically check if a consent was given using WordPress Actions.

Use do_action NOT add_action to check if the consent was set!

Available actions:
* gdprc_consent_%ID%_given

echo 'Consent was given!';
// No consent was given

Alternatively you may use the wrapper method gdpr_consent(2635) which is a regular PHP function.

Template filters

This allows you to fully customize the look & feel of the plugin!
Available WordPress Template Filters for altering the HTML sections the GDPR Settings page.

  • gdprc_settings_before
  • gdprc_settings_after
  • gdprc_settings_consents_before
  • gdprc_settings_consents_after
  • gdprc_settings_acceptall_before
  • gdprc_settings_acceptall_after
  • gdprc_settings_actions_before
  • gdprc_settings_actions_after

Available WordPress Template Filters for altering the HTML sections of GDPR Consents.

  • gdprc_consent_before
  • gdprc_consent_after
  • gdprc_consent_classes
  • gdprc_consent_title
  • gdprc_consent_iconclass
  • gdprc_consent_description
  • gdprc_consent_%ID%_before
  • gdprc_consent_%ID%_after
  • gdprc_consent_%ID%_classes
  • gdprc_consent_%ID%_title
  • gdprc_consent_%ID%_iconclass
  • gdprc_consent_%ID%_description

Available WordPress Template Filters for altering the HTML sections of GDPR Embedded Content shortcode.

  • gdprc_embed_before
  • gdprc_embed_after
  • gdprc_embed_header
  • gdprc_embed_consents_before
  • gdprc_embed_consents_after
  • gdprc_embed_actions_before
  • gdprc_embed_actions_after

Available WordPress Template Filters for altering the HTML sections of GDPR Permissionbar.

  • gdprc_bar_before
  • gdprc_bar_after
  • gdprc_bar_header
  • gdprc_bar_acceptall_before
  • gdprc_bar_acceptall_after
  • gdprc_bar_actions_before
  • gdprc_bar_actions_after
  • gdprc_bar_links_before (null, $seperator)
  • gdprc_bar_links_after (null, $seperator)
  • gdprc_bar_settings_before
  • gdprc_bar_settings
  • gdprc_bar_settings_after

Available WordPress Template Filters for altering the CSS rules of all GDPR elements.

  • gdprc_stylesheet_before
  • gdprc_stylesheet_after
  • gdprc_stylesheet_background
  • gdprc_stylesheet_border
  • gdprc_stylesheet_embed
  • gdprc_stylesheet_embed_popup
  • gdprc_stylesheet_bar_settings


  • The GDPR Consent Permissionbar allows your visitors to activate consents anywhere on the website.
  • Example of the dedicated GDPR Consent Settings page for end-users.
  • Add, update and delete your Consents as Wordpress Admin.
  • Javascript Tags are supported in PRO version and can be setup to work based on the given Consents.
  • Take control over which features you want to use and many styling options
  • Example of how to hookup Wordpress Plugins to activate/deactivate based on the given Consents.


Upload the GDPR Consent Lite (or Pro) plugin to your blog, activate it, and then enter your GDPR License Key (PRO only) in GDPR Consent -> License Settings.

1, 2, 3: You’re setup!

(Extra configuration can be done on GDPR Consent -> Settings)

Now follow the instructions on:


There are no reviews for this plugin.

Contributors & Developers

“GDPR Consent Plugin” is open source software. The following people have contributed to this plugin.


Translate “GDPR Consent Plugin” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



Release Date – November 20, 2020

  • Add body tag for Consent Scripts (Pro)
  • Various minor bugfixes


Release Date – November 16, 2020

  • Merge Consent Cookies for different languages
  • Improve WPML compatibility


Release Date – October 30, 2020

  • New Theme Padding options – PRO only
  • New Shadow & Corner size options – PRO only
  • Add Unitpicker component – PRO only
  • Fix paddings
  • Fix font-face for O I toggle
  • Fix permissions / capabilities
  • Add maintenance mode Toggle to Settings
  • Add maintenance mode (allows you to setup the plugin safely)
  • Fix inactive license notice


Release Date – October 25, 2020

  • Fix compatibility issues between Lite/Pro edition
  • Changed icon from key to globe


Release Date – October 09, 2020

  • Fix issues with assets not loading
  • Fix P tag issue
  • Add HEX field for Colorpicker
  • Add WPML and Multisite notices
  • Add upgrade button to Plugin Page
  • Add PRO upgrade Banner
  • Update license.txt and readme.txt


Release Date – October 02, 2020

  • Page now reloads when accepting settings from Permissionbar
  • Improved plugin security
  • Update to latest WordPress Guidelines
  • Fix “Settings page not configured warning”
  • Various bug fixes and improvements
  • Updated readme.txt file


Release Date – September 25, 2020

  • Fix some minor bugs with LITE version
  • Removed NO Conflict mode (No longer needed)
  • Add dedicated Icon Library to replace Font Awesome icons
  • Some security updates


Release Date – August 18, 2020

  • Add Font-Family theme options
  • Add Font-Size theme options
  • Fix issue with Not Configured notice


Release Date – August 18, 2020

  • Fix WPML Consent Ordering


Release Date – July 23, 2020

  • Fix WPML redirect (to correct translation)
  • Reduced refresh time default from 1.0 sec to 0.77sec
  • Added require-consents="##,##" HTML attribute
  • Added require-consents require-consent-## require-consent-## classes
  • Added show-on-consent-## class
  • Added hide-on-consent-## class


Release Date – February 25, 2020

  • Release the Lite Version


Release Date – July 23, 2020

  • Fix WPML redirect (to correct translation)


Release Date – December 10, 2019

  • Hotfix popup mode issue
  • Improve visual UI


Release Date – December 09, 2019

  • Various fixes and improvements
  • Custom links in descriptions
  • Option: Change “Close” text to “✖” button


Release Date – November 15, 2019

  • Add Google Analytics Direct traffic tracking option in Advanced Settings


Release Date – September 20, 2019

  • Optimize execution of active plugin filter
  • Introduce Factory pattern to resolve window conflicts


Release Date – August 16, 2019

  • Updated README file with documentation
  • Add wrapper function gdpr_consent(<id>) to check for consents
  • Fix bug with events not propagating properly
  • Add Download Export as file feature
  • Add Drag n Drop file Import feature
  • Clear cache cookie now only set if consents changed
  • Add System Requirements in README
  • Automatically close popup on Save (in GDPR Settings Popup mode)
  • “Forget me” button now also refreshes the page
  • Changed gdprc_bar_hidden with gdprc_permissionbar cookie


Release Date – July 19, 2019

  • Change License field to Password field
  • Add Multisite support
  • Add Yoast SEO compatibility
  • Fix GDPR Permission Bar nagging when cookies are disabled
  • Add GDPR Consents and Settings Export feature
  • Add Import feature

For older changelog entries, please see the additional changelog.txt file delivered with the plugin.