WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Advertising Manager] Can't get ads to display from OpenX (7 posts)

  1. cullyott
    Member
    Posted 5 years ago #

    Hey all,

    I'm trying to install OpenX zones manually into my wordpress Gazette theme. Any suggestions as to where to start? Thank you!

  2. CCrest
    Member
    Posted 5 years ago #

    I've never used OpenX, but you should be able to embed just about any HTML in a text widget.

    If your theme support's widgets, place a text widget in your sidebar with the embedded ad code.

    If PHP is involved, try searching for a PHP widget plugin.

  3. cullyott
    Member
    Posted 5 years ago #

    Thanks CCrest.

    The plugin site suggests to paste this code:
    <?php advman_ad('name'); ?>
    ..."where the ads should go."

    Do you think that means I just enter that code, having changed to the name, in the sidebar.php?

  4. Samuel B
    moderator
    Posted 5 years ago #

    moved another freaking post to the right forum

  5. CCrest
    Member
    Posted 5 years ago #

    That's PHP. A regular Text widget won't be able to handle it. You will need to go to "Plugins > Add New" and search for "PHP Widget" to find a plugin to install that will make a PHP widget available at "Appearance > Widgets".

    Then put the PHP widget in your sidebar(s) and paste the code in and save. View Site.

  6. cullyott
    Member
    Posted 5 years ago #

    I tried Google Ad Manager instead...

    Our gazette theme calls on separate PHP files for displaying the ads. I put the ad script codes in those separate PHP files and it worked!

  7. switzer
    Member
    Posted 4 years ago #

    In order to use OpenX zones, follow these instructions:

    1. Generate an OpenX zone tag.
    2. Past the contents of this tag in Advertising Manager.

    That's it!

    Now, you can position your OpenX zone easily using Advertising Manager (e.g. as a widget, in your template, or inline with your post), and you can use OpenX's sophisticated ad selection and delivery for your ads.

    Cheers,
    Scott

Topic Closed

This topic has been closed to new replies.

About this Topic