Title: Device Detect
Author: Kleor
Published: <strong>6 Tháng 1, 2018</strong>
Last modified: 15 Tháng 12, 2025

---

Tìm kiếm plugin

![](https://ps.w.org/device-detect/assets/icon-256x256.png?rev=3396730)

# Device Detect

 Bởi [Kleor](https://profiles.wordpress.org/kleor/)

[Tải về](https://downloads.wordpress.org/plugin/device-detect.2.0.1.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/device-detect/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/device-detect/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/device-detect/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/device-detect/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/device-detect/)

## Mô tả

Device Detect allows you to detect the device of the user, and to **easily insert**
into posts, pages and widgets of your website **some contents only for the phones,
tablets or computers**.

 * [Documentation](https://www.kleor.com/device-detect/)

### Plugins from the same author

 * [Commerce Manager, to sell your products](https://www.kleor.com/commerce-manager/en/)
 * [Affiliation Manager, to create your affiliate program](https://www.kleor.com/affiliation-manager/en/)
 * [Membership Manager, to create your members areas](https://www.kleor.com/membership-manager/en/)
 * [Optin Manager, to build your prospects lists](https://www.kleor.com/optin-manager/en/)
 * [Contact Manager, to create your contact forms](https://www.kleor.com/contact-manager/en/)
 * [Easy Timer, to display count down/up timers](https://www.kleor.com/easy-timer/en/)
 * [Content Switcher, to display random or variable contents](https://www.kleor.com/content-switcher/en/)

## Cài đặt

You can install Device Detect through the “Add Plugins” page of the “Plugins” menu
in WordPress (Plugins => Add New => Upload Plugin). Upload the plugin file without
unzipping it. You can also install it like this:

 1. Unzip the plugin file.
 2. Upload with your FTP software the “device-detect” folder, and only this folder,
    to your plugins directory (it should be “wp-content/plugins”).

Once you have installed Device Detect, activate the plugin through the “Plugins”
menu in WordPress.

## Hỏi đáp

### How can I use shortcodes in my WordPress theme?

Insert into the PHP files of your theme a code like this:

    ```
    <?php echo do_shortcode('[your-shortcode]'); ?>
    ```

### How to use shortcodes in comments?

Edit the “functions.php” file (create it if it doesn’t exist) of your WordPress 
theme and add this line of code:

    ```
    add_filter('comment_text', 'do_shortcode');
    ```

## Đánh giá

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

### 󠀁[Very useful plugin to display content with different layouts](https://wordpress.org/support/topic/very-useful-plugin-to-display-content-with-different-layouts/)󠁿

 [multze](https://profiles.wordpress.org/multze/) 7 Tháng 7, 2025

‘Device Detect’ is a very easy and intuitive to use plugin to display content with
different layouts adapted for phone, tablet or computer display – depending on the
visitor’s device. Very useful!

 [ Đọc tất cả 1 đánh giá ](https://wordpress.org/support/plugin/device-detect/reviews/)

## Người đóng góp & Lập trình viên

“Device Detect” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ Kleor ](https://profiles.wordpress.org/kleor/)

“Device Detect” đã được dịch qua 1 ngôn ngữ. Cảm ơn [những người tham gia dịch](https://translate.wordpress.org/projects/wp-plugins/device-detect/contributors)
vì đóng góp của họ.

[Dịch “Device Detect” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/device-detect)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/device-detect/), check out
[SVN repository](https://plugins.svn.wordpress.org/device-detect/), hoặc theo dõi
[nhật ký phát triển](https://plugins.trac.wordpress.org/log/device-detect/) qua 
[RSS](https://plugins.trac.wordpress.org/log/device-detect/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

 * Version 2.0.1
    - Fix a fatal error
 * Version 2.0
    - Remove the “mobile-detect.php” file
 * Version 1.4.6
    - Update the “mobile-detect.php” file
 * Version 1.4.5
    - Update the “mobile-detect.php” file
 * Version 1.4.4
    - Update the “mobile-detect.php” file
 * Version 1.4.3
    - Update the “mobile-detect.php” file
 * Version 1.4.2
    - Update the “mobile-detect.php” file
 * Version 1.4.1
    - Improve the security
 * Version 1.4
    - Use anonymous functions instead of “create_function”
 * Version 1.3
    - Update the “mobile-detect.php” file
 * Version 1.2
    - Update the “mobile-detect.php” file
 * Version 1.1
    - Update the “mobile-detect.php” file
 * Version 1.0
    - Initial version

## Meta

 *  Phiên bản **2.0.1**
 *  Cập nhật lần cuối **5 tháng trước**
 *  Số lượt cài đặt **10+**
 *  Phiên bản WordPress ** 4.6 hoặc cao hơn **
 *  Đã kiểm tra lên đến **6.9.4**
 *  Phiên bản PHP ** 5.3 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/device-detect/) và [French (France)](https://fr.wordpress.org/plugins/device-detect/).
 *  [Dịch sang ngôn ngữ của bạn](https://translate.wordpress.org/projects/wp-plugins/device-detect)
 * Thẻ
 * [content](https://vi.wordpress.org/plugins/tags/content/)[detect](https://vi.wordpress.org/plugins/tags/detect/)
   [detection](https://vi.wordpress.org/plugins/tags/detection/)[device](https://vi.wordpress.org/plugins/tags/device/)
   [mobile](https://vi.wordpress.org/plugins/tags/mobile/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/device-detect/advanced/)

## Đánh giá

 5 trên 5 sao.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/device-detect/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/device-detect/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/device-detect/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/device-detect/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/device-detect/reviews/?filter=1)

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

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/device-detect/reviews/)

## Những người đóng góp

 *   [ Kleor ](https://profiles.wordpress.org/kleor/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/device-detect/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://www.kleor.com/donation/)