Hi.
I have a google ad unit I use on my webiste, normally I just take the code from google and paste it in to my site however I have recently set up a responsive theme and want to display an ad in the header of the mobile version and have been told I need to ad the code to the header.php file.
I dont have any idea how I would rewrite the following code to use in the header.php file?
<?php echo do_shortcode("[mobile_only] script type="text/javascript" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js" async="">It’s used on a wordpress site with a mysitemyway infocus theme.
Can anyone help?
Thanks, James