That not what i am looking for,
I was wondering if there was a way to have part of one of my WordPress posts only show up if view from a mobile device
I need a way of using this code in my post or similar
include ‘Mobile_Detect.php’;
$detect = new Mobile_Detect();
// Check for any mobile device.
if ($detect->isMobile())
// mobile content
else
// other content for desktops
This uses the http://mobiledetect.net/ code
Yes, but how can i change what it shows?
Nope, will do now, thanks!
Awesome – Worked thanks!!