GDPR Consent Plugin GDPR Consent Plugin

GDPR Consent Plugin

Created by: WP Upgrader

Rating:
Downloaded: 690 times

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

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

Categories

Get New Themes & Resources