Title: WP Mobile Detect
Author: Jesse Friedman
Published: <strong>17 Temmuz 2012</strong>
Last modified: 11 Mayıs 2015

---

Eklentilerde ara

Bu eklenti, **WordPress’in son 3 ana dağıtımı ile test edilmemiş**. Artık bakımı
yapılmıyor veya desteklenmiyor olabilir ve WordPress’in daha güncel sürümleriyle
birlikte kullanıldığında uyumluluk sorunları olabilir.

![](https://s.w.org/plugins/geopattern-icon/wp-mobile-detect.svg)

# WP Mobile Detect

 [Jesse Friedman](https://profiles.wordpress.org/professor44/) tarafından

[İndir](https://downloads.wordpress.org/plugin/wp-mobile-detect.2.0.zip)

 * [Detaylar](https://tr.wordpress.org/plugins/wp-mobile-detect/#description)
 * [İncelemeler](https://tr.wordpress.org/plugins/wp-mobile-detect/#reviews)
 *  [Kurulum](https://tr.wordpress.org/plugins/wp-mobile-detect/#installation)
 * [Geliştirme](https://tr.wordpress.org/plugins/wp-mobile-detect/#developers)

 [Destek](https://wordpress.org/support/plugin/wp-mobile-detect/)

## Açıklama

One of the hardest parts of building Responsive WordPress themes is maintaining 
responsive integrity after the site goes live. User Admins can have limited coding
abilities which can prevent them from maintaining responsiveness in themes.

WP Mobile Detect aims to make it extremely easy for anyone to wrap content in the
editor with shortcodes which will hide content based on visitor device at the server
level.

No longer do we need to rely on display:none; or other techniques to hide content
for mobile devices. Instead we can replace content with alternatives. When a full-
size infographic in your post is unknowingly displayed on a visitors phone we can
consider that an Non-user initiated download. In other words that visitor had no
idea what they were getting into and you possibly just choked their bandwidth.

WP Mobile detect gives you the ability to wrap that infographic in a [notdevice][/
notdevice] shortcode so at the server level WordPress will decide to show that content
only if the user is NOT on a phone or tablet. Alternatively you can wrap a link 
and corresponding text to that info graphic in a [device][/device] shortcode as 
a way for the visitor to consume that content if they so choose.

This plugin is based on the [PHP Mobile Detect class](http://code.google.com/p/php-mobile-detect/)

WordPress Plugin written by [Jesse Friedman](http://jes.se.com)

## Yükleme

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

e.g.

 1. Upload the `wp-mobile-detect` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Start using the shortcodes in your content or functions in your theme

## SSS

  What shortcodes are available with this plugin

 * [phone]Put content here that you only want displayed on Phones NOT Tablets or
   Desktops[/phone]
 * [tablet]Put content here that you only want displayed on Tablets NOT Phones or
   Desktops[/tablet]
 * [device]Put content here that you only want displayed on Phones OR Tablets NOT
   Desktops[/device]
 * [notphone]Put content here that you only want displayed on Tablets OR Desktops
   NOT Phones[/notphone]
 * [nottab]Put content here that you only want displayed on Phones OR Desktops NOT
   Tablets[/nottab]
 * [notdevice]Put content here that you only want displayed on Desktops NOT Phones
   OR Tablets[/notdevice]
 * [ios]Put content here that you only want displayed on iOS devices[/ios]
 * [iPhone]Put content here, that you only want displayed on iPhones[/iPhone]
 * [iPad]Put content here, that you only want displayed on iPads[/iPad]
 * [android]Put content here, that you only want displayed on Android devices[/android]
 * [windowsmobile]Put content here, that you only want displayed on Windows Mobile
   devices[/windowsmobile]
 * [blackberry]Put content here, that you only want displayed on Blackberry devices[/
   blackberry]
 * [chrome]Put content here, that you only want displayed on mobile Chrome browsers[/
   chrome]
 * [safari]Put content here, that you only want displayed on mobile Safari browsers[/
   safari]
 * [opera]Put content here, that you only want displayed on mobile Opera browsers[/
   opera]
 * [firefox]Put content here, that you only want displayed on mobile Firefox browsers[/
   Firefox]
 * [ie]Put content here, that you only want displayed on mobile Internet Explorer
   browsers[/ie]

  What functions are available with this plugin

 * wpmd_is_notphone() – Returns true when on desktops or tablets
 * wpmd_is_nottab() – Returns true when on desktops or phones
 * wpmd_is_notdevice() – Returns true when on desktops only
 * wpmd_is_phone() – Returns true when on phones ONLY
 * wpmd_is_tablet() – Returns true when on Tablets ONLY
 * wpmd_is_device() – Returns true when on phones or tablets but NOT desktop
 * wpmd_is_ios() – Returns true when on an iOS device
 * wpmd_is_iphone() – Returns true when on iPhones
 * wpmd_is_ipad() – Returns true when on iPads
 * wpmd_is_android() – Returns true when on Android
 * wpmd_is_windows_mobile() – Returns true when on Windows Mobile
 * wpmd_is_blackberry() – Returns true when on Blackberry
 * wpmd_is_chrome_browser() – Returns true when on mobile Chrome browser
 * wpmd_is_safari_browser() – Returns true when on mobile Safari browser
 * wpmd_is_opera_browser() – Returns true when on mobile Opera browser
 * wpmd_is_ie_browser() – Returns true when on mobile Internet Explorer browser
 * wpmd_is_firefox_browser() – Returns true when on mobile Firefox browser

  Are you planning on adding more shortcodes in the future?

Yes I plan on adding shortcodes for
 * Android Only – DONE * iOS Only – DONE * Mobile
Browsers – DONE * Blackberry – DONE * And More

If you want to see some rate and comment on this plugin

  What about functions?

For now I’ve only made shortcodes but you can either call the do shortcode function
in your theme or write your own functions. In future releases functions will come
with all shortcodes

## İncelemeler

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

### 󠀁[Still great for big code generators like Divi (iphone 6: also ok)](https://wordpress.org/support/topic/still-great-for-big-code-generators-like-divi-iphone-6-also-ok/)󠁿

 [alfadelta](https://profiles.wordpress.org/alfadelta/) 21 Temmuz 2020

Great plugin ot prevent downloading code only needed on desktop or … because most
buiders use display:none instead of doing this smart filtering.

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

### 󠀁[Works great!](https://wordpress.org/support/topic/works-great-5987/)󠁿

 [krystofdavid](https://profiles.wordpress.org/krystofdavid/) 24 Temmuz 2019

Thanks for this plugin. Easy to use and works perfectly.

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

### 󠀁[Excellent plugin](https://wordpress.org/support/topic/excellent-plugin-3808/)󠁿

 [mishash](https://profiles.wordpress.org/mishash/) 28 Mart 2018

I am very pleased with this plugin, it still works fine with the latest WordPress(
tested with version 4.9.4). The plain and simple shortcodes is a huge convinience.
I am really impressed that it is such a miser when it comes to performance, I run
performance tests with P3 and the effect of this plugin on loading time is negligible.
Thanks a lot to Jesse (plugin author) and it’s too bad it is no longer supported.

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

### 󠀁[Thanks a million!](https://wordpress.org/support/topic/thanks-a-million-5/)󠁿

 [salah7433](https://profiles.wordpress.org/salah7433/) 12 Ocak 2018

You are the best!!

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

### 󠀁[Absolutely perfect](https://wordpress.org/support/topic/absolutely-perfect-60/)󠁿

 [dwhiteman](https://profiles.wordpress.org/dwhiteman/) 13 Temmuz 2017

The perfect plug-in for optimizing your site for mobile. It has plenty of options,
not just for what device the user is using, but also which mobile/tablet OS or browser.
If I had any nit-picky complaint it would be that it would be nice if it detected
desktop OSs as well… Not that I expect I would use that, but it is an odd omission
with all of this plug-in’s other features.

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

### 󠀁[Does what is says](https://wordpress.org/support/topic/does-what-is-says-46/)󠁿

 [dimitriosg](https://profiles.wordpress.org/dimitriosg/) 10 Mart 2017

Really handful plugin. Does what it says like a charm!

 [ 64 incelemeyi oku ](https://wordpress.org/support/plugin/wp-mobile-detect/reviews/)

## Katkıda Bulunanlar ve Geliştiriciler

“WP Mobile Detect” açık kaynaklı yazılımdır. Aşağıdaki kişiler bu eklentiye katkıda
bulunmuşlardır.

Katkıda bulunanlar

 *   [ Jesse Friedman ](https://profiles.wordpress.org/professor44/)

[“WP Mobile Detect” eklentisini dilinize çevirin.](https://translate.wordpress.org/projects/wp-plugins/wp-mobile-detect)

### Geliştirmeyle ilgilenir misiniz?

[Kodu görüntüleyin](https://plugins.trac.wordpress.org/browser/wp-mobile-detect/),
[SVN deposuna](https://plugins.svn.wordpress.org/wp-mobile-detect/) göz atın ya 
da [RSS](https://plugins.trac.wordpress.org/log/wp-mobile-detect/?limit=100&mode=stop_on_copy&format=rss)
ile [geliştirme günlüğüne](https://plugins.trac.wordpress.org/log/wp-mobile-detect/)
abone olun.

## Değişiklik Kaydı

#### 2.0

 * Updated the core Mobile Detect Class 2.8.13
 * Updated shortcodes, adding [blackberry], [chrome], [safari], [opera], [ie], [
   firefox]
 * Updated functions, adding wpmd_is_blackberry(), wpmd_is_chrome_browser(), wpmd_is_safari_browser(),
   wpmd_is_opera_browser(), wpmd_is_ie_browser(), wpmd_is_firefox_browser()
 * Updated readme and some links

#### 1.2.0

 * Addition of several more shortcodes: [ios][/ios], [iPhone][/iPhone],][iPad][/
   iPad], [android][/android], [windowsmobile][/windowsmobile]
 * Addition of several more functions: wpmd_is_ios(), wpmd_is_iphone(), wpmd_is_ipad(),
   wpmd_is_android(), wpmd_is_windows_mobile()
 * Updated the core Mobile Detect Class 2.5.8

#### 1.1.0

 * Changed function namespace prefix from “jesse_” to “wpmd_”
 * Deprecated [tab] shortcode, replaced by [tablet]
 * Addition of theme functions for mobile detection
 * Fixed bug where shortcodes would not run inside the mobile detect shortcodes

#### 1.0.0

Initial release.

## Meta

 *  Sürüm **2.0**
 *  Son güncelleme **8 yıl önce**
 *  Etkin kurulumlar **5.000+**
 *  WordPress sürümü ** 2.8.4 veya üstü **
 *  Test edilen sürüm **4.2.39**
 *  Dil
 * [English (US)](https://wordpress.org/plugins/wp-mobile-detect/)
 * Etiketler
 * [browsers](https://tr.wordpress.org/plugins/tags/browsers/)[mobile](https://tr.wordpress.org/plugins/tags/mobile/)
   [responsive](https://tr.wordpress.org/plugins/tags/responsive/)
 *  [Gelişmiş görünüm](https://tr.wordpress.org/plugins/wp-mobile-detect/advanced/)

## Puanlar

 5 üzerinden 4.8 yıldız.

 *  [  57 5 yıldızlı inceleme     ](https://wordpress.org/support/plugin/wp-mobile-detect/reviews/?filter=5)
 *  [  3 4 yıldızlı inceleme     ](https://wordpress.org/support/plugin/wp-mobile-detect/reviews/?filter=4)
 *  [  1 3 yıldızlı inceleme     ](https://wordpress.org/support/plugin/wp-mobile-detect/reviews/?filter=3)
 *  [  2 2 yıldızlı inceleme     ](https://wordpress.org/support/plugin/wp-mobile-detect/reviews/?filter=2)
 *  [  1 1 yıldızlı inceleme     ](https://wordpress.org/support/plugin/wp-mobile-detect/reviews/?filter=1)

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

[Tüm değerlendirmeleri görün](https://wordpress.org/support/plugin/wp-mobile-detect/reviews/)

## Katkıda bulunanlar

 *   [ Jesse Friedman ](https://profiles.wordpress.org/professor44/)

## Destek

Söyleyeceğiniz bir şey mi var? Yardım mı lazım?

 [Destek forumunu görüntüle](https://wordpress.org/support/plugin/wp-mobile-detect/)

## Bağış yap

Bu eklentinin geliştirilmesini desteklemek ister misiniz?

 [ Bu eklentiye bağış yap ](http://amzn.to/1KHiZ8s)