WordPress.org

Support

Support » Plugins and Hacks » Lazyest Stylesheet » [Resolved] [Plugin: Lazyest Stylesheet] Mobile choice on non-mobile device

[Resolved] [Plugin: Lazyest Stylesheet] Mobile choice on non-mobile device

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Marcel Brinkkemper

    @macbrink

    I’ll add a filter.

    Plugin Author Marcel Brinkkemper

    @macbrink

    download version 0.8.0 and add this to your theme functions.php:

    function my_mobile_browser( $mobile_browser ) {
      if ( $_GET['mobile_override'] == 'mobile' ||
        $_COOKIE['mobile_override'] == 'mobile')
        $mobile_browser = true;
      return $mobile_browser;
    }
    add_filter( 'lazyest-stylesheet-mobile-browser', 'my_mobile_browser');
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: Lazyest Stylesheet] Mobile choice on non-mobile device’ is closed to new replies.
Skip to toolbar