plugin-icon

Site Grayscale Toggle

제작자: natthasath·
CSP-safe plugin that applies a site-wide grayscale filter with a front-end toggle. Control intensity (0–100) and whether to show a floating toggle but …
버전
1.1.1
활성화된 설치 항목
10
최근 업데이트일
Nov 11, 2025
Site Grayscale Toggle

Site Grayscale Toggle lets you turn your entire site grayscale and give visitors a clear on/off switch. It’s built to be CSP-friendly (no inline JS) and to avoid a flash-of-unstyled-content by injecting the initial state on the server side.

Features:Grayscale filter site-wide via html.is-grayscale { filter: grayscale(var(--sgt-level)); }. – Intensity control (0–100) from Settings Site Grayscale. – Show/Hide floating toggle button (bottom-right by default). – Shortcode: [grayscale_toggle] to place the switch anywhere (headers, menus, footers, blocks, widgets). – Remembers visitor preference with localStorage across pages. – CSP-safe: no inline JS; initial state added server-side to <html> to avoid FOUC. – Lightweight, theme-agnostic; works alongside most caching/CDN plugins.

Use cases include memorial/monochrome modes, accessibility preferences, or design experiments that you want users to control.

무료Business 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 6.8.3
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.