Dynamic Web Lab
Back to insights

Add visitor browser name in the body class function

September 14, 20121 min read
You can easily detect browser using this function and add visitor browser name in the body class function . Put this on your theme functions.php The sample output may like this Source: Snipplr.com

Written by

Dynamic Web Lab Editorial

We share how we design, engineer, and scale digital products across the GCC, Europe, and the US.

Share this article

Topics

wordpress

Need help implementing this?

We turn these playbooks into shipped features. Let us scope your roadmap and support your team.

Start a project conversation