tombroucke / otomaties-wordpress-iframemanager
GDPR friendly iframe manager
Installs: 20
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 2
Type:wordpress-plugin
Requires
- php: >=8
- johnbillion/extended-cpts: ^5.0
- stoutlogic/acf-builder: ^1.12
- tombroucke/wp-models: ^1.0
Requires (Dev)
- php-stubs/acf-pro-stubs: ^6.0
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.6
- szepeviktor/phpstan-wordpress: ^1.1
This package is auto-updated.
Last update: 2024-11-06 07:47:10 UTC
README
This WordPress plugin is an implementation of orestbida/iframemanager. This will automatically replace iframes in the following blocks:
- core/embed (YouTube & Vimeo)
- core/html (YouTube, Vimeo & Google Maps)
Installation
composer require tombroucke/otomaties-wordpress-iframemanager
Documentation
Customize color scheme
@use 'sass:color'; :root { --im-primary-color: #fff; --im-link-color: #{$primary}; --im-spinner-color: #fff; --im-btn-primary-bg: #{$primary}; --im-btn-primary-hover-bg: #{color.adjust($primary, $lightness: 5%)}; --im-btn-primary-border-color: transparent; --im-btn-secondary-bg: #{color.adjust($light, $alpha: -0.3)}; --im-btn-secondary-hover-bg: #{color.adjust($light, $lightness: 15%, $alpha: -0.2)}; --im-btn-secondary-active-bg: #{color.adjust($light, $lightness: 15%, $alpha: -0.2)}; --im-btn-primary-color: #fff; --im-service-bg: #151515; --im-service-overlay-bg: rgb(60 60 60); --im-service-overlay-bg-gradient: linear-gradient(14deg, rgb(50 50 50 / 100%) 0%, rgb(215 215 215 / 11.8%) 100%); }