
內容簡介
Slim Mobile Theme Switcher 是一款輕量級的外掛,專為需要專屬行動體驗的網站設計,無需重型行動外掛的負擔。它能有效區分手機與平板,確保使用者獲得最佳的瀏覽體驗。
【主要功能】
• 真正的行動偵測:精確區分手機與平板設備
• 手動覆蓋:使用者可強制選擇主題
• 持久選擇:記住使用者的主題選擇達 30 天
• 無額外負擔:不添加前端 CSS 或 JS
• 開發者友好:專為開發者設計的解決方案
外掛標籤
開發者團隊
原文外掛簡介
Ever wanted to serve a dedicated theme to visitors on handheld devices instead of a theme that is fine-tuned for big screen traffic?
Slim Mobile Theme Switcher is a highly optimized, lightweight plugin designed for websites that need to serve a different theme to mobile devices while preserving the primary desktop experience.
Instead of relying on clunky, resource-heavy device detection libraries, this plugin uses streamlined, modern user-agent detection to instantly route users to the correct theme before the page even loads.
Key Features
Three-way Theme Routing: Serve up to three different themes simultaneously. Set one theme for Mobile Phones, one for Desktops, and optionally enable a dedicated theme specifically for Tablets (iPads/Android tablets).
True Mobile Detection: Uses refined regex to separate small-screen phones from tablets (iPads/Android tablets).
Zero-Friction Setup: Select your themes from a simple dropdown menu. No coding required.
Manual Overrides: Allow users to manually switch between views using ?theme=handheld or ?theme=active or ?theme=tablet.
Persistent Choice: Activating the ‘Remember Visitor’s Choice’ option ensures that when a user has manually selected a different theme, this preference is saved for 30 days via cookies.
No Bloat: Zero front-end CSS or JS added by the plugin itself.
Developer Friendly: Built by a developer for developers.
