Determining the User's Browser and Operating System in WordPress

The code I suggested will display in the tag body additional classes that will show what operating system and browser are you using at the user, who visited the site. The code works for CMS WordPress, just add the code snippet to the file functions.php.

I checked the code, it is fully functional. The class output will be in place of the standard wordpress function:

If you need a similar script for any other engine or self-written site, you can use the script from another article “Determine the user's browser“.


Купить хостинг WordPress
WordPress tutor
Online tutoring services. List of courses I teach
  • Basic web design course;
  • Site layout;
  • General course on CMS WordPress and continuation of the course on template development;
  • Website development in PHP.
Read more on the page WordPress tutor
*/

Nikolaenko Maxim

Director of web studies ProGrafika. I am developing, website design and promotion. Always glad to new blog readers and good clients.


You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Templates for WordPress
The best hosting in Ukraine
Stable hosting for Drupal