1
Hi,
I'm desparately trying to add Google Ads to a custom Block. I've tried just copy and pasting (as a lot of the articles about adsense say you can do) and using an html code block and nothing happens, apart from the block title showing, nothing else...this is because something - the html editor (kovi)? - is changing the code so it appears in one long line - which Google Adsense does not allow.
I have the Google code working as a banner and as some html in the theme. It's just the block I can't get to work!
I've also tried putting the Google code in a separate html file and put server-side include statement as an html block - that didn't work.
I've also tried using a php echo statement having the block as a PHP code, but nothing shows up! When I include a simple 'echo "word""; it shows the block title and 'word' underneath. So why won't it show the Google javascript code?
Could I save the Google code as a separate .js file and include this somehow.
I'm desparate to get this to work, and can't see away around it.
Any help much appreciated.
Cheers, Tracy