Title: Device Detect
Author: Kleor
Published: <strong>January 6, 2018</strong>
Last modified: December 15, 2025

---

Search plugins

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

# Device Detect

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

[Download](https://downloads.wordpress.org/plugin/device-detect.2.0.1.zip)

 * [Details](https://twd.wordpress.org/plugins/device-detect/#description)
 * [Reviews](https://twd.wordpress.org/plugins/device-detect/#reviews)
 *  [Installation](https://twd.wordpress.org/plugins/device-detect/#installation)
 * [Development](https://twd.wordpress.org/plugins/device-detect/#developers)

 [Support](https://wordpress.org/support/plugin/device-detect/)

## Description

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/)

## Installation

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.

## FAQ

### 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');
    ```

## Reviews

![](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/) July 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!

 [ Read all 1 review ](https://wordpress.org/support/plugin/device-detect/reviews/)

## Contributors & Developers

“Device Detect” is open source software. The following people have contributed to
this plugin.

Contributors

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

“Device Detect” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/device-detect/contributors)
for their contributions.

[Translate “Device Detect” into your language.](https://translate.wordpress.org/projects/wp-plugins/device-detect)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/device-detect/), check
out the [SVN repository](https://plugins.svn.wordpress.org/device-detect/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/device-detect/) 
by [RSS](https://plugins.trac.wordpress.org/log/device-detect/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

 * 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

 *  Version **2.0.1**
 *  Last updated **4 months ago**
 *  Active installations **20+**
 *  WordPress version ** 4.6 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 5.3 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/device-detect/) and [French (France)](https://fr.wordpress.org/plugins/device-detect/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/device-detect)
 * Tags
 * [content](https://twd.wordpress.org/plugins/tags/content/)[detect](https://twd.wordpress.org/plugins/tags/detect/)
   [detection](https://twd.wordpress.org/plugins/tags/detection/)[device](https://twd.wordpress.org/plugins/tags/device/)
   [mobile](https://twd.wordpress.org/plugins/tags/mobile/)
 *  [Advanced View](https://twd.wordpress.org/plugins/device-detect/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  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)

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

[See all reviews](https://wordpress.org/support/plugin/device-detect/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/device-detect/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.kleor.com/donation/)