• Resolved amit311kr

    (@amit311kr)


    Sir
    I want to put ads on my website which is in form of javascript codes. But I want to put separate ads for desktop and mobile. The company says to put ad code in body tag of website. I tried using wp_is _mobile() function in footer.php file just before closing of body tag but that didn’t work and I am seeing the desktop ad in mobile. Also I am using litespeed cache .
    Please help.

Viewing 1 replies (of 1 total)
  • Hi,

    You can copy the header.php file into the child theme and add the code after the body tag. I don’t think it is oceanwp issue related query, you should consult with a developer to do this.

Viewing 1 replies (of 1 total)
  • The topic ‘Responsive advertising and javascript on website’ is closed to new replies.