WordPress.org

Ready to get started?Download WordPress

Forums

Google Ad Sense (6 posts)

  1. DavidDeCristoforo
    Member
    Posted 9 years ago #

    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?

    Thanx
    DD

  2. episodic
    Member
    Posted 9 years ago #

    I'd love to know too :)

  3. michaelc
    Member
    Posted 9 years ago #

    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! ;-))

  4. DavidDeCristoforo
    Member
    Posted 9 years ago #

    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
    DD

  5. michaelc
    Member
    Posted 9 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.