There are two main routes for detecting browser identity: client-side or server-side. You can do feature-detection for client-side detection, or use PHP and the user-agent server-variable for server-side detection. That said, if you’re using WordPress, this plugin makes server-side detection SO easy.

Direct Link to ArticlePermalink on DiW

© 2013 Digging into WordPress | Permalink | No comment | Add to | Post tags: