WordPress.org

Support

Support » How-To and Troubleshooting » How do I add an AD to my blog?

How do I add an AD to my blog?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Use this code, and replace the URL for the advertiser’s site, and the URL for the JPG graphic of the ad graphic.

    <a href="http://link-to-advertisers-site"><img alt="This is an Ad for the Company" src="http://yoursite.com/images/your-ad-graphic.jpg"></a>

    You could put it in your theme’s template sidebar.php for example.

    Thanks Dgold. This is what i needed!

    Maybe, maybe not. If you’re asking how to run ads for your own stuff, sure, this will work. If you’re asking how to run ads you’ll get paid for, then no, this will give your advertising space away for free.

    Any advertising code can be added without using plugins e.g. in my site http://post.netspier.net . To have a tower at the bottom of the sidebar (most common), place the code right before the last </div> tag in the file sidebar.php if you want it on top of all sidebar widgets place the code after the first <div id=”sidebar “> tag or similar.

    Any advertising code can be added without using plugins e.g. in my site http://post.netspier.net . To have a tower at the bottom of the sidebar (most common), place the code right before the last </div> tag in the file sidebar.php if you want it on top of all sidebar widgets place the code after the first <div id=”sidebar “> tag or similar in the same file.

    Hello,

    How can I add different ads by category? I would like to run one banner ad on the homepage and then different ads for each of the different categories.

    I added ad code to the header template & the banner ad is appearing on the homepage and each of the categories.

    Thanks,
    Gina

    Hello,

    Does anyone know the code for adding rotating ads?

    Thanks,
    Gina

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How do I add an AD to my blog?’ is closed to new replies.