Redirect mobile visitors to a mobile-optimized site.
This plugin will only redirect users who are viewing the site on a mobile device. You also must first update the redirect URL within the plugin settings.
If you want to use this feature set a link to "example.com/?view_full_site=true" anywhere on your mobile site. The cookie will expire after one day. You may change the expiration time by changing the time()+86400 on line 43.
This can be done one of two ways, you can either link to the mobile site directly (m.example.com) or you can clear the cookie by linking to "example.com/?view_full_site=false" anywhere on your WordPress install.