前言介紹
- 這款 WordPress 外掛「Mobile Detect」是 2017-12-09 上架。
- 目前有 3000 個安裝啟用數。
- 上一次更新是 2025-04-09,距離現在已有 25 天。
- 外掛最低要求 WordPress 3.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
- 有 7 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
pothi |
外掛標籤
ipad | mobile | tablet | browsers | mobiledetect |
內容簡介
移動設備偵測(Mobile detect)外掛使用開源的MobileDetect PHP 庫 ,以微調內建的 WordPress 函數 wp_is_mobile() ,以使平板電腦不被偵測為行動裝置!
如果你不明白上方的一行敘述,下面有些解釋...
若我們為行動裝置和桌面端提供不同(快取的)內容,iPads(還有其他平板電腦)通常會以網站的行動版版本提供。這意味著,iPad 用戶只能看到網站的行動版版本。如果你懷疑這是否正確,請現在就檢查你的網站!這與你的 iPad(或任何其他平板電腦)沒關系。這是由於 WordPress 如何處理 iPads 和其他平板電腦引起的。目前在 WordPress 中,iPads(以及其他平板電腦)被認為是行動裝置!將來(可能)有一天,WordPress 內部可能會將平板電腦視為桌面端。在那之前,通過使用/啟用此外掛,平板電腦會顯示桌面版的網站。
如果你的網站不為行動端和桌面端提供不同的內容,請忽略此外掛。在這種情況下,此外掛什麼也不做。
關於 Mobile Detect PHP 庫:
Mobile Detect 是一個輕量級的 PHP 類,用於檢測移動設備(包括平板電腦)。它使用 User-Agent 字串與特定的 HTTP 標頭來檢測移動環境。
PHP Mobile Detect 是根據MIT 授權的開源腳本。
Mobile Detect PHP 開發者:Șerban Ghiță,Nick Ilyin。
原作者:Victor Stanciu。
圖示(和橫幅)由Dragoș Gavrilă創建。
原文外掛簡介
Mobile detect plugin uses the open source MobileDetect PHP library to fine-tune the built-in WordPress function wp_is_mobile() in such a way that tablets are excluded from being detected as mobile!
If you don’t understand the above one-liner, here is some explanation…
If we serve different (cached) content for mobiles and desktops, iPads (and other tablets) are usually served with mobile version of the site. That means, iPad users see only the mobile version of the site. If you are in doubt, check your site now! There is nothing wrong with your iPad (or any other tablet). It is due to how WordPress treats iPads and other tablets. Currently, in WordPress, iPads (and other tablets) are considered as mobile! One day (in the future), tablets may be considered as desktops by WordPress internals. Until then, by using / activating this plugin, tablets are served with desktop version of the site.
If your site doesn’t serve different content for mobiles and desktops, please ignore this plugin. This plugin does nothing in that case.
About Mobile Detect PHP Library:
Mobile Detect is a lightweight PHP class for detecting mobile devices (including tablets). It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.
PHP Mobile Detect is an open-source script released under MIT License.
Mobile Detect PHP Developer: Șerban Ghiță, Nick Ilyin.
Original author: Victor Stanciu.
Icon (and banner) created by: Dragoș Gavrilă.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Mobile Detect」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
3.0 | 1.0.0 | 1.1.3 | 1.2.0 | 1.3.0 | 1.4.0 | 1.4.1 | 1.5.0 | 1.5.1 | 3.0.1 | 3.0.2 | 3.1.0 | trunk |
延伸相關外掛(你可能也想知道)
Multi Device Switcher 》Multi Device Switcher外掛允許您為設備(智能手機、平板電腦、手機、遊戲和自定義)設置單獨的佈景主題。, 此外掛可以偵測到使用者代理(UserAgent)是否正在...。
Quick Call Button 》✅ 讓網站輕鬆增加快速撥打電話按鈕。, ✅ Quick Call Button 是一款外掛程式,可以添加快速撥打電話按鈕,幫助您的客戶避免輸入電話號碼,並能立即透過您的...。
Add to home screen WP Plugin 》此外掛使用加到主屏幕(Add to home screen)的 Cubiq script,以浮動氣球的形式邀請使用者將網站添加到他們的主屏幕上,作為標準的 iOs 應用程式。, 這是一...。
SlideDeck 2 Lite Responsive Content Slider 》我們已經推出SlideDeck Lite的全新升級版- SlideDeck |版本5, 新版本提供了更好的即插即用架構,讓您可以建立和自定義圖像和視頻輪播。, 在此查看豐富的Slide...。
Retina @2x 》這個外掛會在你的 WordPress 網站上加入一個簡單的 JavaScript,將檢查每個圖片是否有高解析度的版本。這可以確保你的圖片(例如:標誌、按鈕、有文字圖片)...。
Smart App Banner 》這是一個 WordPress 外掛,可以讓你在 WordPress 博客上使用「 Smart App Banners 」。, 根據 Apple 的說法,「 Smart App Banners 」相較於其他推廣方法可以...。
Photoswipe for NextGEN Gallery 》當使用行動裝置瀏覽器時,預設的NextGEN圖庫導覽效果(Shutter、Thickbox等)效果不佳?, 現在您可以安裝這個外掛,使用最好的行動裝置圖片瀏覽器Photoswipe...。
Devices for Elementor 》「Devices for Elementor」是一款功能強大的 Elementor 小工具,可讓您將手機、平板、筆記型電腦、桌上型電腦或視窗/瀏覽器框架添加到圖像或屏幕中,讓您呈現...。
isMobile() Shortcode for WordPress 》[ismobile device=’iphone’ debug=true ] 您的內容 [/ismobile], 參數, device: 篩選您希望顯示內容的裝置。可以選擇多個裝置,只需用逗號分隔。...。
SUPER RESPONSIVE SLIDER 》這個外掛提供了多組設定,讓圖片管理變得更加簡單。你可以建立多個輪播,將它們用在頁面、文章、小工具或直接插入 HTML 代碼中。安裝此外掛,啟用後在「設定...。
WPapptouch 》專業版。, 我為 WordPress 創建了一個全新的手機主題,速度更快,更好,看起來像一個真正的應用程式。http://mobilypress.com/, 比任何 WordPress 手機主題快...。
App Reviews LITE 》「App Reviews Plugin」是一款外掛程式,最佳的方式讓你在 WordPress 中突顯 iOS 應用程式的評論與評比,現在已經推出輕量版!, 如果你是一位 iOS 應用程式開...。
wp2epub 》wp2epub 是一款 WordPress 外掛,可生成 ePub 檔案,方便在 iPad、iPhone 和其他閱讀器上發佈。只需選擇要匯出的標籤、分類或日期,就完成了。現在,您不僅是...。
Responsive Checker 》Responsive Checker 可以幫助您檢查您的網站在多個裝置上的外觀。它支援行動裝置,如 iPhone、Android 手機,以及平板電腦,例如 iPad。。
iOS Smart App Banner For Safari 》這個 WordPress 外掛可以讓您輕鬆地在任何頁面上加入一個智慧型應用程式橫幅,顯示您的應用程式(或任何 iOS 應用程式)。相較於其他外掛,此外掛的優勢在於...。