=== GDPR Consent === Contributors: sowmedia Tags: gdpr, compliance, consent, cookie, europe, disable plugin, disable script, regulations Requires at least: 5.0 Tested up to: 5.5 Stable tag: 3.0.6 Requires PHP: 7.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Allow visitors to grant explicit consent for use with your site, which helps you to comply with GDPR standards. == Description == * 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 == Changelog == = 3.0.6 = * 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 = 3.0.5 = * 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 = 3.0.4 = * 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 = 3.0.3 = * Add Font-Family theme options * Add Font-Size theme options * Fix issue with Not Configured notice = 3.0.2 = * Fix WPML Consent Ordering = 3.0.1 = * 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 = 3.0.0 = * Release the Lite Version = 2.0.6 = * Fix WPML redirect (to correct translation) = 2.0.5 = * Hotfix popup mode issue * Improve visual UI = 2.0.4 = * Various fixes and improvements * Custom links in descriptions * Option: Change "Close" text to "✖" button = 2.0.3 = * Add Google Analytics Direct traffic tracking option in Advanced Settings = 2.0.2 = * Optimize execution of active plugin filter * Introduce Factory pattern to resolve `window` conflicts = 2.0.1 = * Updated README file with documentation * Add wrapper function `gdpr_consent()` 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 = 2.0.0 = * 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 = 1.3.6 = * Fix bug with Settings page link = 1.3.5 = * Fix new bug with collapsed descriptions * Fix type with `

` tag * Add popup mode for gdpr settings * Styling fix for transparent border * Add long requested refresh time setting * Fix shadow bug for embed consents * Move Settings page to GDPR Menu (remove from Settings menu) * Add `do_action("gdprc_consent_%ID%_given")` = 1.3.4 = * Bugfix mobile styling * Bugfix icon color * Bugfix spacing and close button * Bugfix Consents in Permission Bar add-on * Bugfix translations = 1.3.3 = * Add options for shadow/animations * Add option for showing/hiding consent settings in Permission Bar * Fix bug with header and Accept All padding * Update Wordpress Theme color compatibility * Update styling for checkboxes and toggles = 1.3.2 = * Bugfix mobile display * Bugfix popup z-index issues * Bugfix embedCount notice * Bugfix hard-coded `WP_CONTENT` dir reference * Bugfix byreference notice * Bugfix `wp_enqueue_style` gdpricons = 1.3.1 = * Many various minor bug fixes and compatibility fixes (down to WP 4.5.1) * Improved overal runtime stability and performance * Add option for embeded shortcodes to hide the consent panel * Allow embeded shortcodes consent widget to show in popup * Add PlaceHolder switch for Embed Widgets `[gdpr_consent_inactive_content]` * Add option for embeded shortcodes to show placeholder content for un-consented content * Add Must-save notice, after updating plugin. = 1.3.0 = * Refactor codebase to support the next generation GDPR Consent plugin * Add Color Pickers and Custom Theme options * Add rounded / square corner theme option * Improved License Settings page * Fix bug with empty license key (not being able to de -/reactivate.) * Updated GDPR icons picker * Add toggle switches, instead of checkboxes theme option * Organized Consent Settings into Tabs * Previously used theme colors are now available in the Color Pickers * Completely disable or enable custom theme colors * Add description info label for checkboxes on Settings page * Translatable strings now have a "Translate "button". * New Advanced Settings tab * Fixed issue with multiple shortcodes on a single page * Initialize defaults on first -time installation * Add option to disable icons * Fixed font face so it will inherit the website's default font * Updated styling to be better compatible with installed themes out of the box = 1.2.6 = * Fix lessc compiler issues (no longer needed) = 1.2.5 = * You can now use shortcodes in consent shortcodes * Fix issue with timezones and timesettings = 1.2.4 = * Buffed consent cookie lifetime to `10` years * Allow Permission Bar to be put on top of the page * Allow custom CSS rules * Fix issue with publicly_queryable setting * Allow to use `title="..."` attribute on GDPR Consent Shortcode/Embed feature * Fix bug with filter supression * Improve WPML compatibility * Improve styling checkbox visibility * Fix issue with WPML compatibility where header and footer scripts don't load * Fixed empty SCRIPT tags in header and footer * Prevent Permission Bar from auto-hiding once on Settings page * Add Accept All on Settings page redirect option * Fix issue with license keys on Settings page = 1.2.3 = * Add Shortcode/Embed Widget shortcode = 1.2.2 = * Remove unset cookie notice * Fix issue with GDPR icons not loading = 1.2.1 = * Fix translation Accept All in Permissions-bar * Fix unexpected MySQL error "use near ') AND" on certain installations * Properly hide Permission Bar = 1.2.0 = * Fixed icon picker issue * Added Changelog * Prevent GDPR plugin from unloading itself * Improve security * Fix issue with embedded scripts loading (or not loading) as expected * Allow for more than 5 consents * Fix issue with Functional (Mandatory) consents not loading embedded scripts * Some minor CSS improvements * Remove deprecated dependencies for better compatibility with older WP * Functional (Mandatory) cookies are now set properly * Plugins and Scripts assigned to Functional (Mandatory) cookies are always executed * Scripts in GDPR settings now give correct NOTICE if already assigned * Plugins in GDPR settings now give correct NOTICE if already assigned * Accept button in Cookie bar now accepts all consents * Fixed accept button in Cookie bar for all pages * Plugins that require 2 or more consents, now need all consents to be approved * Fixed issue with Wordpress Caching * Accept All button kan now be translated with WPML * Improve compatibility with WPML enabled websites = 1.1.1 = * Fixed issue where custom scripts couldn't be saved = 1.1.0 = * Get Settings page and privacy policy page in local language = 1.0.2 = * New: WPML Compatibility * Fixed issue where icons weren't always saved * Improvement: MU-plugin is much more efficient now * Improvement: Used a safer way to save metabox data in Consents and Scripts = 1.0.1 = * Conforming to PSR-4 standards = 1.0.0 = * Initial release == 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` Can be any string, this will be appended to the #ID (maybe used to resolve conflicts or display multiple settings pages.) * `[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. = Wordpress actions = Programmatically check if a constent was given. **PLEASE NOTE:** Use `do_action` NOT `add_action` to check if the consent was set! * 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 function `gdpr_consent(2635)` = Wordpress filters = Wordpress Template Filters for altering the HTML sections of 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 Wordpress Template Filters for altering the HTML 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 Wordpress Template Filters for altering the HTML sections of GDPR embedded content * 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 Wordpress Template Filters for altering the HTML sections of GDPR Permission Bar * 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 Wordpress Template Filters for altering the CSS of 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 == Frequently Asked Questions == = Default settings = When activated this plugin will restore any previous settings. When it is first used you need to save your settings before the plugin can be used.