I'm looking for a way to add body class depending on the User Agent of the client with php.
I'm looking to implement it this way:
<body id="front" <?php ( function_exists ( 'body_class' ) : body_class($classes) ? NULL ); ?> >
Or by using adding it to the functions.php file
p.s. I'm not looking for a mobile plugin.
p.p.s. no, i'm not interested in using a mobile theme.