How to show WhatsApp button only for mobile users on your website

Create a javascript file identifydeviceos.js with below code to identify the device OS [crayon-5905de4d74b9b196058311/] The above JS returns the userAgent based on the device. Call the above JS in your header. [crayon-5905de4d74ba5999806649/] Above JQuery just shows or hides the WhatsApp button based on the OS. The button needs to applied .whatsapp_btn class.
Read More