Cookie control and customizable cookie message to comply with the EU cookie law GDPR regulations with following features:
- Cookie banner configurable from the WordPress customizer: position, styles, colors and content.
- Show or not a secondary banner after the primary one is hidden: which allow users see again the main banner to change their previous decision.
- Activate or not the implementation of basic internal Analytics to know the number of acceptances and rejections.
- Change the name and days to expiry of the cookie that keeps track of users choice.
- Activate the implementation of Google Tag Manager (Google Analytics): conditional on the acceptance of cookies.
Also with this plugin you can show/hide conditional content depending on the acceptance of cookies with:
- A specific block of Gutenberg: you can show/hide conditional content depending on the acceptance of cookies.
- Some shortocodes described in the «Advanced control» inside the WordPress Customizer. Example: [SCC_ALLOW] your content [/SCC_ALLOW]
- Some extra advanced options to try force automatically the blocking of some scripts, and with it the control of cookies.
Both with the gutenberg block and with the shortcodes this plugin allows you to show or hide content, as well as allow partial acceptance and rejection of cookies for each content. It also allows the user to change his mind at all times.
EXAMPLE of what you can do with this plugin based on an idea from UniversoSM
* Imagine that your visitor rejects cookies in the main banner. Which is quite possible.
* So where there should be a YouTube video you can only show a static image.
* Now the visitor can see a button next to the image that inform and allows to accept only the cookies to watch the video.
* If the visitor makes partial consent the page will show the iframe with the video replacing the image.
* In the same way it can be displayed a button next to the video to allow the visitor to reject that specific consent.
Feedback and support
I hope it is useful for you and look forward to reading your reviews! 😉 Thanks!
This plugin provides 1 block.
- Hide/Show blocks by Cookies
- Activate the plugin through the ‹Plugins› menu in WordPress.
- Go to customizer to your own custom setup.
- Search into post the block
Hide/Show blocks by Cookiesinto
- What can I do with this plugin?
Also you can show/hide conditional content depending on the acceptance of your own cookies.
- How do I setup this plugin?
First Go to customizer and search
Simple Cookie Controlto set all setup.
Keep in mind that there are no more options pages outside of the customizer.
Second, you have a Gutenberg block to show/hide conditional content depending on the acceptance of cookies.
Also possible using shortcodes if you prefer.
Contributors & Developers
“Simple Cookie Control” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Delete bug notice about undefined index
- Compatible with WP5.0
- Do not hide the acceptance button even when they are cookies already accepted to avoid being rejected after pressing the secondary banner.
- First publicly available version.