Results 1 to 9 of 9

Thread: Tip: Don't rely on plugins to deliver a mobile site

  1. #1
    Elpie's Avatar
    Elpie is offline Here For The Peanuts
    Join Date
    Nov 2009
    Location
    New Zealand
    Posts
    168

    Default Tip: Don't rely on plugins to deliver a mobile site

    Warning - this is a *rant*.
    I'm increasingly unable to visit sites, particularly WordPress-based sites, this year as more and more of them are using plugins to add "mobile support". If the site includes Flash, or a lot of JavaScript, my phone baulks at loading. But, the worst situation occurs on desktop. The most popular mobile-enabling plugins, such as WP-Touch, rely on device detection. This isn't always accurate. Alarmingly, if referrers are not set, or 3rd party cookies disabled, they automatically assume that the device is mobile and serve the mobile site.

    Now comes the killer - for some of these plugins, if JavaScript isn't on (which is often the case for people with disabilities but also for people behind corporate firewalls) the mobile site is served and content is overlaid with a large warning about JavaScript. The content isn't visible and cannot be read until CSS is disabled, which is something many people wouldn't know to do.

    In trying to make sites accessible to mobile devices some of these plugins are making the site inaccessible to a lot of other people. Techcrunch.com is a good example of this happening.

    Unfortunately, these plugins fool people into thinking that all they need do to serve a mobile site is to add the plugin and serve the corresponding mobile theme. It just doesn't work that way, unless the site is already optimised for mobile and page size is correspondingly small. AND it doesn't rely on JavaScript to serve content.

    /* End of rant */

  2. #2
    Martin's Avatar
    Martin is offline Here For The Peanuts
    Join Date
    Jun 2009
    Location
    Sydney, Australia
    Posts
    120

    Default

    Never have had a problem with Mobile plugins.

    It is always good to get a mobile plugin that is updated regularly and also has a mobile browser list that you can update so it's compatible with the latest mobile phone browsers.
    Premium WordPress Hosting - Zero Click WordPress Installation on Hosting Signups!

  3. #3
    Ryan's Avatar
    Ryan is offline WordPress Legend
    Join Date
    Jan 2009
    Location
    New Zealand
    Posts
    2,801

    Default

    Browser sniffing sucks. Unfortunately, so too does serving different CSS files to different devices based on device width.

  4. #4
    Elpie's Avatar
    Elpie is offline Here For The Peanuts
    Join Date
    Nov 2009
    Location
    New Zealand
    Posts
    168

    Default

    Quote Originally Posted by Ryan View Post
    Browser sniffing sucks. Unfortunately, so too does serving different CSS files to different devices based on device width.
    Yep, completely agree. Just as well we don't need to do either of those things now. Media queries work well with modern browsers and most reasonably-modern mobile devices but if a site is designed to be completely flexible even those can be kept to a minimum.

  5. #5
    Otto's Avatar
    Otto is offline On The Rocks
    Join Date
    Apr 2009
    Location
    Memphis, TN
    Posts
    865

    Default

    Media queries are based on device width, as Ryan stated. And they still kinda sorta suck.

    For example, the iPhone's media query is media="only screen and (max-device-width: 480px)".

    The iPad's is media="only screen and (min-device-width: 768px) and (max-device-width: 1024px)".

    It's better than sniffing, but still...

  6. #6
    WPDave is offline Hello World
    Join Date
    Jul 2011
    Location
    UK
    Posts
    5

    Default

    Quote Originally Posted by Ryan View Post
    Browser sniffing sucks. Unfortunately, so too does serving different CSS files to different devices based on device width.
    I've had nothing but problems with this on one site so scrapped it all together as the normal site worked just fine.
    "I can't imagine anything more worthwhile than doing what I most love. And they pay me for it." Edgar Winter - Links: SEO Nottingham | Solicitors Nottingham

  7. #7
    Jeffro's Avatar
    Jeffro is offline WPTavern Forum Admin
    Join Date
    Jan 2009
    Location
    Ohio
    Posts
    2,359

    Default

    Revisiting this thread, it seems like the more reasonable approach would be this new found thing called "Responsive Web Design" where the page readjusts according to the device it's being viewed on without any disruption, as if were meant to be that way all along. Can anyone verify that Responsive Design would be a good answer to this problem? Or am I thinking of different things?

  8. #8
    MiroslavGlavic is offline Here For The Peanuts
    Join Date
    May 2009
    Location
    Toronto, Canada
    Posts
    177

    Default

    WordPress Mobile Pack has been doing awesome for me.

  9. #9
    PressedIn's Avatar
    PressedIn is offline Hello World
    Join Date
    Sep 2011
    Location
    Jonhnson City, TN
    Posts
    28

    Default

    @Jeffro - Responsive Design & CSS works wonders. Both BuddyPress & WooThemes feature Responsive Designs that scale quite well. On an iPhone, iPad, and Motorola Atrix I've had no issues. The only time I have is when I specifically put something in the header that was not designed to shrink and scale.
    Jonathan T. - PressedIn
    Managed WordPress Hosting, for Free
    .
    twitter: @pressedin - gtalk & email: hello [at] pressed.in

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •