Title: Mobile Detect
Author: Pothi Kalimuthu
Published: <strong>2017 年 12 月 10 日</strong>
Last modified: 2026 年 5 月 17 日

---

搜尋外掛

![](https://ps.w.org/tinywp-mobile-detect/assets/banner-772x250.png?rev=1784205)

![](https://ps.w.org/tinywp-mobile-detect/assets/icon-128x128.png?rev=1784200)

# Mobile Detect

 由 [Pothi Kalimuthu](https://profiles.wordpress.org/pothi/) 開發

[下載](https://downloads.wordpress.org/plugin/tinywp-mobile-detect.3.1.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/tinywp-mobile-detect/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/tinywp-mobile-detect/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/tinywp-mobile-detect/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/tinywp-mobile-detect/#developers)

 [技術支援](https://wordpress.org/support/plugin/tinywp-mobile-detect/)

## 外掛說明

Mobile detect plugin uses the open source [MobileDetect PHP library](http://mobiledetect.net/)
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](https://github.com/serbanghita/Mobile-Detect/blob/master/LICENSE.txt).
 * Mobile Detect PHP Developer: [Șerban Ghiță](http://twitter.com/serbanghita), 
   [Nick Ilyin](https://github.com/nicktacular).
 * Original author: [Victor Stanciu](http://twitter.com/victorstanciu).
 * Icon (and banner) created by: [Dragoș Gavrilă](https://twitter.com/grafician).

## 安裝方式

This section describes how to install the plugin and get it working.

 1. Upload the plugin files to the `/wp-content/plugins/mobile-detect` directory, or
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Check the site in a tablet.

If the site uses any full-page caching plugins such as WP Super Cache…

 1. Please clear any existing cache.
 2. Please make sure that it is configured to distinquish mobile version from desktop
    version.

## 常見問題集

### Where can I change the settings?

This plugin doesn’t come with any settings screen on purpose. Settings screen may
be included in the future, depending on the feedback from the users!

### Is this plugin actively maintained?

Yes, this plugin is actively maintained to make sure that the core [Mobile Detect PHP library](http://mobiledetect.net/)
is updated as and when there is an update in it. Otherwise, this plugin is in maintenance-
only mode. No new features are planned in the near future.

### Can you add feature “x”?

Any new feature is unlikely to be added to this plugin. This plugin was created 
to patch the built-in WordPress function `wp_is_mobile()` to incorporate a missing
feature, functionality or a bug. I expect that WordPress core would fix it at some
point in the future. When it does include a fix, this plugin would be retired. When
this plugin retires, I don’t want anyone to miss the feature/s that this plugin 
may have. So, I encourage everyone to create a standalone plugin or an add-on plugin,
if a feature is missing from this plugin.

## 使用者評論

![](https://secure.gravatar.com/avatar/46e31146d1b143100e3062cf609dc785cdd46c55d51ae620561bc3441d63fcfa?
s=60&d=retro&r=g)

### 󠀁[Thank you](https://wordpress.org/support/topic/thank-you-3597/)󠁿

 [Vu Tru So](https://profiles.wordpress.org/vutruso/) 2024 年 11 月 22 日 1 則留言

Great job, thank you so much!

![](https://secure.gravatar.com/avatar/43cfb0f1f2b99934c0216396ef972968667a881ba9f1d3d61b80ba3066fc45ba?
s=60&d=retro&r=g)

### 󠀁[very useful](https://wordpress.org/support/topic/very-useful-2984/)󠁿

 [dreamsoft](https://profiles.wordpress.org/dreamsoft/) 2022 年 4 月 17 日 1 則留言

keep it up, is much useful

![](https://secure.gravatar.com/avatar/3e45c440b85b64736a85aeae83a7798f8ce365c5a03e2818d8d661cbd401e6fc?
s=60&d=retro&r=g)

### 󠀁[Splendid](https://wordpress.org/support/topic/splendid-63/)󠁿

 [southpaw254](https://profiles.wordpress.org/southpaw254/) 2022 年 1 月 11 日 1
則留言

Can’t even notice the transition due to its speed

![](https://secure.gravatar.com/avatar/cb4a0012c9ff4722f1b9e4713d8648a6212d7b3de2fb95a70ad078b686634dfe?
s=60&d=retro&r=g)

### 󠀁[GREAT plugin to improve mobile loading speed.](https://wordpress.org/support/topic/great-plugin-to-improve-mobile-loading-speed/)󠁿

 [chinawhisper](https://profiles.wordpress.org/chinawhisper/) 2020 年 3 月 19 日

It is the best plugin to improve your mobile loading speed, I have used many plugins
trying to reduce the loading speed, but none of them works. This plugin has greatly
reduced the loading time, good job!

![](https://secure.gravatar.com/avatar/061c848e974da3aa43a7d1ebb0e45403270959137e05f77fe46dea1c537927bb?
s=60&d=retro&r=g)

### 󠀁[Great for distinguishing between tablets and mobiles](https://wordpress.org/support/topic/great-for-distinguishing-between-tablets-and-mobiles/)󠁿

 [vshura](https://profiles.wordpress.org/vshura/) 2019 年 8 月 7 日 1 則留言

Great plugin once I had figured out how to use it. See instructions for shortcodes
here: https://wordpress.org/support/topic/info-how-to-create-shortcodes/

![](https://secure.gravatar.com/avatar/bb844c0fce60afa149e2b47a3fcac3690dc67689abdf1575e994a823894bdec3?
s=60&d=retro&r=g)

### 󠀁[KEEP UP GREAT WORK!](https://wordpress.org/support/topic/keep-up-great-work-2/)󠁿

 [lars Portman](https://profiles.wordpress.org/webppower/) 2019 年 7 月 11 日 1 
則留言

NICE!

 [ 閱讀全部 7 則使用者評論 ](https://wordpress.org/support/plugin/tinywp-mobile-detect/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Mobile Detect〉的開發相關工作。

參與者

 *   [ Pothi Kalimuthu ](https://profiles.wordpress.org/pothi/)

[將〈Mobile Detect〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/tinywp-mobile-detect)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/tinywp-mobile-detect/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/tinywp-mobile-detect/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/tinywp-mobile-detect/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/tinywp-mobile-detect/)。

## 變更記錄

Changelog for upstream Mobile Detect library can be found at [https://github.com/serbanghita/Mobile-Detect/releases](https://github.com/serbanghita/Mobile-Detect/releases).

#### 3.1.1

 * Fix for PHP deprecation notice.

#### 3.1.0

 * Restore old naming scheme.

#### 3.0.2

 * Fixed an issue with file name.

#### 3.0.1

 * Fixed an issue with file name.

#### 3.0

 * Update upstream Mobile Detect Library from version 2.8.38 to 2.8.41 .
 * Shorten the length of the description in readme file.

#### 1.5.1

 * Remove unwanted tags
 * Shorten the length of the description in readme file.

For a complete list of changelog, please see changelog.txt file.

## 中繼資料

 *  版本 **3.1.1**
 *  最後更新 **2 週前**
 *  啟用安裝數 **3,000+**
 *  WordPress 版本需求 ** 3.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/tinywp-mobile-detect/)
 * 標籤:
 * [browsers](https://tw.wordpress.org/plugins/tags/browsers/)[ipad](https://tw.wordpress.org/plugins/tags/ipad/)
   [mobile](https://tw.wordpress.org/plugins/tags/mobile/)[tablet](https://tw.wordpress.org/plugins/tags/tablet/)
 *  [進階檢視](https://tw.wordpress.org/plugins/tinywp-mobile-detect/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  7 個 5 星使用者評論     ](https://wordpress.org/support/plugin/tinywp-mobile-detect/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/tinywp-mobile-detect/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/tinywp-mobile-detect/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/tinywp-mobile-detect/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/tinywp-mobile-detect/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/tinywp-mobile-detect/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/tinywp-mobile-detect/reviews/)

## 參與者

 *   [ Pothi Kalimuthu ](https://profiles.wordpress.org/pothi/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/tinywp-mobile-detect/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://paypal.me/pothi)