• Hi,
    Should I be able to use Adsense with WordPress without downloading a plugin? I tried and got a syntax error. I don’t actually have permission to download plugins on the site that Im working on so I am hoping there is some workaround. Any help would be greatly appreciated.
    Thanks!
    Barbara

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’m a complete novice at WordPress, but I managed to get Adsense on my pages just by putting Google’s script within the footer template: https://crimealerts.org.uk/

    Hope that helps.

    David

    Thread Starter bw12944

    (@bw12944)

    Thank you.. Did you put the code in “footer.php” or something like that?
    Did you just cut and paste from what Google generated or did you have to do anything special?

    Hi Barbara
    I’ve been playing around with the templates to create my own customised design – it’s fairly easy (if you don’t want anything too fancy). It’s just a case of splitting the design you want into three basic chunks – the header, sidebar and footer. And then fiddling around with the page-building templates that use those three – index.php, single.php, search.php and page.php.
    You can copy and paste the Google code wherever you want. For my site, I put it in the footer – but you could just as easily put it in the header or sidebar.
    It seems to work all right – but I’m a real beginner at this so could be missing something really obvious which will cause it all to fall apart!
    I used the most basic theme I could find – Bob-la-simple – to work with. But I just checked out the theme library and couldn’t find it. Not sure why.
    Good luck!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adsense basic question’ is closed to new replies.