
This plugin implements https://github.com/orestbida/cookieconsent/ solution and stores consents in custom database table.
Google Tag Manager consent mode is supported by default. ad_storage & anaylytics_storage are set to denied by default.
Set for which WordPress role cookie settings will be available:
add_filter('easy_cookie_consent/options_capability', static function ($optionsCapability) { return 'custom_capability'; }); Adjust options passed to Javascript. See https://github.com/orestbida/cookieconsent/#all-configuration-options
add_filter('easy_cookie_consent/javascript_options', static function ($cookieConsentOptions) { $cookieConsentOptions['cookie_domain'] = '.example.com'; return $cookieConsentOptions; }); Disable autorun:
add_filter('easy_cookie_consent/autorun', static function ($autorun) { return false; }); // call easy_show_cookie_consent() when needed if (function_exists('easy_show_cookie_consent')) { easy_show_cookie_consent(); } Add custom/service Javascripts to page and control them by cookie consent:
add_action('easy_cookie_consent/add_app_scripts', static function () { if (wp_get_environment_type() === 'production') { ?> <script> ... </script> <script type="text/script-template" data-cookiecategory="analytics"> ... </script> <script type="text/script-template" data-cookiecategory="marketing"> ... </script> <?php } }); Change <iframe> tag to <div> and prefix attributes with data-
– data-iframe-cookie-needed – cookie category needed for iframe
– data-iframe-placeholder-url – url to placeholder image which will be used instead for iframe content
Example:
<div title="Google Map" data-iframe-cookie-needed="analytics" data-iframe-placeholder-url="https://www.example.com/map_placeholder.png" style="width:100%;min-height:400px" data-frameborder="0" data-src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d82507.32058738587!2d13.30188385000431!3d49.74178702400929!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x470af1e5133d11b7%3A0x31b9406e3fc10b83!2sPilsen!5e0!3m2!1sen!2scz!4v1641891569357!5m2!1sen!2scz" > </div>
Starting from $0 per month.
Rating
Reviewers
2 reviews
Tags
Developed By
kamilpesekubkcz
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Contact Form plugins for Wordpress
Maps plugins for Wordpress
Translation plugins for Wordpress
Chat plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Contact plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Forms plugins for Wordpress
Comments plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Comments plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Portfolio plugins for Wordpress
Video Player plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Inventory plugins for Wordpress
Testimonials plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Analytics plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Security plugins for Wordpress
Ads plugins for Wordpress
Music Player plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Membership plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Video Player plugins for Wordpress
Tabs plugins for Wordpress
Social Feeds plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Use tilted image effects to rotate visuals, add creative style, and keep visitors engaged with dynamic images on your site.
Use a Lottie player to embed lightweight JSON animations that improve visual design, keep pages fast, and create a smoother user experience.
Create course listings with a course catalog widget that displays programs clearly, supports easy organization, and helps visitors explore courses effectively.
Showcase your abilities with a structured skill list that highlights strengths clearly, builds credibility, and improves your chances of getting hired.
Display clean code snippets with syntax highlighting to improve technical content and help developers scan examples quickly.
Use a news ticker to display headlines and updates that highlight key information and keep users informed in real time.
Create real estate listings with a listings widget that displays properties clearly, supports customization, and helps visitors explore homes more easily.
Show your team with interactive team member flip cards that build trust, support transparency, and help visitors connect with the people behind your brand.
Create headlines with background images that blend text and visuals and let you control animation, position, and fonts.
Show business locations clearly with a Google Maps widget that displays multiple points, detailed info, and customizable styles to help visitors find you easily.
Use a support form that lets customers submit tickets, saves each request, sends notifications, and helps you manage support more efficiently.
Show Reddit posts with a Reddit feed that updates automatically, improves content discovery, and keeps visitors engaged with fresh discussions.
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!
