Support » Fixing WordPress » Google Ad Sense

  • I would like to add this to my blog. As I understand it, there is a bit of Jscript that needs to be added to the index page. What I would like is to have the ads appear in a sidebar. So would I drop the Jscript into the DIV that defines the sidebar? Or what?


Viewing 5 replies - 1 through 5 (of 5 total)
  • I’d love to know too 🙂

    Yes. 😉

    Seriously, you can add/subtract things from your theme templates however you like. As long as you don’t interfere with the PHP code you can (and should – every time I hit a new site with just the basic Kubrick it kinda turns me off as a reader) make your site your own.

    Pop it in where you think you want it, check it in your web browser. If it’s broken, move it somewhere else. Like magic, you’re a web developer!

    (As you learn more, you’ll be able to disregard the part about not messing with the PHP – you’ll WANT to mess with it! ;-))

    Moderator James Huff


    Halfelf Minion 🚀

    Cool. I just don’t want the ads to pop up anywhere. But, as you point out, the best way to learn is to do. What is really nice is to have this forum to come back to after one hoses one’s site by messing around with stuff one knows nothing about! Now that I have a “safe” WP installation running on a local server, I can play around to my heart’s content. But, I don’t think the Google stuff will be able to get through to my local IP address.

    Thanx Again

    For local testing, you can set up the AdSense code to display a colored box when the ads don’t come through. That way you can check the positioning.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Google Ad Sense’ is closed to new replies.