WordPress.org

Forums

How do I add an AD to my blog? (8 posts)

  1. dacane
    Member
    Posted 6 years ago #

    Hi,
    How do I add add AD's to my blog?
    Thanks!

  2. MichaelH
    Member
    Posted 6 years ago #

  3. Dgold
    Member
    Posted 6 years ago #

    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.

  4. Scott Winterroth
    Member
    Posted 6 years ago #

    Thanks Dgold. This is what i needed!

  5. rocketllama
    Member
    Posted 6 years ago #

    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.

  6. tonnyochieng
    Member
    Posted 6 years ago #

    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.

  7. tonnyochieng
    Member
    Posted 6 years ago #

    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.

  8. gmroos
    Member
    Posted 5 years ago #

    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

  9. gmroos
    Member
    Posted 5 years ago #

    Hello,

    Does anyone know the code for adding rotating ads?

    Thanks,
    Gina

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.