GDPR Consent Plugin

plugin banner

The best GDPR compliance available! Allows visitors to grant explicit consent for ANY feature of your site. Control activation and deactivation of plu …

Author:WP Upgrader (profile at wordpress.org)
WordPress version required:4.5.1
WordPress version tested:5.5.14
Plugin version:3.0.10
Added to WordPress repository:16-10-2020
Last updated:24-11-2020
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:https://www.wpupgrader.com/gdpr-consent-wordp...
Total downloads:634
Active installs:10+
plugin download
Click to start download

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

Shortcodes

  • [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.

Programmatic

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

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

Available actions:
* gdprc_consent_%ID%_given

Example:
if(do_action('gdprc_consent_2635_given')){
echo 'Consent was given!';
}else{
// 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

Screenshots
ChangeLog