WPtap Mobile Detector
View full website option (3 posts)

  1. thadfiebich
    Posted 3 years ago #

    I'd like to give mobile users the option to view the desktop site and all it's content. Is there a way to add a link on the mobile site that when clicked will overrule the redirect and allow the mobile user to view the desktop site?


  2. thadfiebich
    Posted 3 years ago #

    This might not be too bad. Using shortcode to create a link with a passing variable in the url that would bypass the redirect. hmmm.

  3. aoikle
    Posted 3 years ago #

    I tried adding this to mobiledetector.php. Seems to work for me instead of adding a JS lib. You can name the request/cookie name/value anything you want.

    if ( isset($_COOKIE['disable-mobile-redirect']) || isset($_REQUEST['disable-mobile-redirect']) ) {
    setcookie('disable-mobile-redirect', 'true');
    } else {

    -- original code --


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WPtap Mobile Detector
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.