WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. servoweb
    Member
    Posted 2 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?

    Thanks!

    http://wordpress.org/extend/plugins/wp-mobile-detector/

  2. websitezcom
    Member
    Plugin Author

    Posted 2 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
    Member
    Posted 2 years ago #

    Right on, thanks very much!

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

    Cheers!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic