The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

WP Mobile Detector
[resolved] Switching from Mobile to Desktop, then back again. (3 posts)

  1. servoweb
    Posted 4 years ago #

    Hi guys,

    This plugin suits my needs almost perfectly, except for one small item.

    That one small item being that the "View Full Site" link works fine in switching the user over to the desktop version of the site, but there doesn't appear to be a way to return to the mobile version of the site outside of clearing the browser's cookies.

    Looking for help on how to...

    1. Expire the cookie so the user will return to the mobile version of the site upon their next browser session.
    2. Create a "View Mobile Site" link, which I'd place in the footer.

    First option is probably easier, but not quite sure how best to approach. And for the record, we are using W3 Total Cache as well.

    Any ideas on how best to solve?



  2. websitezcom
    Plugin Author

    Posted 4 years ago #

    The plugin will automatically insert a link in the desktop footer as long as the WordPress function "wp_footer" is present in the footer.

    From the sounds of it, it sounds like it isn't.

    If you just toss that in the footer.php file, you should be good.

    <?php wp_footer(); ?>

  3. servoweb
    Posted 4 years ago #

    Right on, thanks very much!

    The link was in the footer, just didn't see it first time around. :o


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic