detect mobile visitors

include(‘mobile_device_detect.php’);
$mobile = mobile_device_detect();

if ($mobile==true) {
header( ‘Location: http://your-website.com/?theme=Your_Mobile_Theme‘ ) ;
}


detect mobile visitor