How to detect the visitor browser within WordPress
Simply paste the code below in your functions.php file: Once you saved the file, the function will automatically add a CSS class to the body tag, as shown in the exemple below: That’s all. You just have to take your stylesheet, and add some browser-specific styles! Credits goes to Nathan Rice for this awesome trick! Looking for WordPress hosting

