[wp-hackers] Turn off mobile comments

Ade Walker photofantaisie at gmail.com
Fri Oct 21 14:57:50 UTC 2011


I think we're talking about the $is_iphone global variable, not a
conditional function (Bill's post is perhaps slightly misleading), are we
not?

AFAIK, this variable is only true if a mobile Safari version is detected.

Ade.


2011/10/19 Christopher Ross <cross at thisismyurl.com>

> Thanks Bill, I'd assumed is_iphone was just good for iphone, but it looks
> like it'll catch most mobile devices. Chris
>
>
> On 2011-10-19, at 11:56 AM, Bill Erickson wrote:
>
> > I think you could use the is_iphone() conditional wrapped around the
> comment
> > form. I've never used it before, but here's some more info on it:
> > http://wordpress.org/support/topic/is_iphone-documenation
> >
> >
> > ---
> > Bill Erickson
> > WordPress Consultant
> > http://www.billerickson.net
>


More information about the wp-hackers mailing list