=== Device Detect === Contributors: Kleor Donate link: https://www.kleor.com/donation/ Tags: content, detect, detection, device, mobile, phone, responsive, shortcode, smartphone, tablet Requires at least: 4.6 Tested up to: 6.9 Requires PHP: 5.3 Stable tag: 2.0.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Allows you to detect the device of the user, and to display some contents only for the phones, tablets or computers. == 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/) == 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. == Upgrade Notice == When you upgrade Device Detect, you don't lose any settings or any data. You can upgrade Device Detect through the "Plugins" menu in WordPress, and through the "WordPress Updates" page of the "Dashboard" menu in WordPress (Dashboard => Updates), or 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 upgrade 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"), without deleting the "device-detect" folder that already exists in this directory. You don't need to deactivate and reactivate the plugin. == Frequently Asked Questions == = How can I use shortcodes in my WordPress theme? = Insert into the PHP files of your theme a code like this: `` = 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');` == 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/) == 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