WordPress.org

Ready to get started?Download WordPress

Forums

Advertising Manager
Main site/docs down? (4 posts)

  1. awpcp
    Member
    Posted 3 years ago #

    Every time I click on the code.openx.org links from this WP plugin or other sites, I always get a 503 error.

    I'd like to know about the PHP code to put the ads in the templates, but can't find any docs on it because of the above problem...

  2. andikuhn
    Member
    Posted 3 years ago #

    I'm looking for the same thing ... Help!?!?

  3. andikuhn
    Member
    Posted 3 years ago #

    Hey awpcp - I found this in another forum thread that is how you put the ads directly in the templates:

    <?php advman_ad('name'); ?>

    (where 'name' is what you named your ad inside of advertising manager)

    (docs are still down, regardless, so I'm leaving this unresolved.)

  4. lantrix
    Member
    Posted 3 years ago #

    I actually wrap the adman_ad function in a check, just in case so we don't throw an error:

    <?php if (function_exists('advman_ad')) { ?>
    <?php advman_ad('adnamehere'); ?>
    <?php } ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic