[WordPress] 外掛分享: Joynal Dark Mode Switcher

首頁外掛目錄 › Joynal Dark Mode Switcher
WordPress 外掛 Joynal Dark Mode Switcher 的封面圖片
全新外掛
安裝啟用
尚無評分
42 天前
最後更新
問題解決
WordPress 5.8+ PHP 7.4+ v1.1.1 上架:2026-04-20

內容簡介

Joynal Dark Mode Switcher 是一款輕量級的 WordPress 外掛,讓訪客能夠透過簡單的前端開關在明亮模式和黑暗模式之間切換。它記住用戶偏好,提供流暢的體驗和準確的顏色顯示。

【主要功能】
• 輕量架構,確保最佳效能
• 美觀的浮動切換按鈕,四個角落皆可放置
• 自動記住訪客的偏好設置
• 高對比度設計,確保可讀性
• 簡易注入自訂 CSS 規則
• 預設模式選項,設定初始顯示模式

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Joynal Dark Mode Switcher」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Joynal Dark Mode Switcher is a lightweight WordPress plugin that lets visitors toggle between light and dark modes with a simple frontend switch.
It provides a fast, flicker-free experience by remembering user preferences and applying clean CSS-based styling for accurate colors and smooth performance across your website.
Key Features

Simple & Fast: Lightweight architecture ensures optimal performance and prevents visual blinking (FOUC).
Floating Toggle Button: Beautiful SVG-based sun/moon toggle switch that can be placed in any of the 4 corners (top-right, top-left, bottom-right, bottom-left).
User Persistence: The visitor’s preference is automatically remembered on subsequent visits and across different pages.
Accessible Designs: High contrast base colors provide readable white text over dark backgrounds by default.
Custom CSS Rules: Easily inject custom CSS overrides from the minimalist settings dashboard for more nuanced dark themes.
Default Mode Option: Define whether the plugin should default to ‘light’ or ‘dark’ for visitors who haven’t selected a preference yet.
Secure & Compliant: Native integration using native wp_enqueue_ hooks, translatable text domains (joynal-dark-mode-switcher), and proper late escaping.

延伸相關外掛

文章
Filter
Mastodon