Purchase OIOpublisher now for just $47.

Take control of your ad space.

Click here to purchase

    • CommentAuthordnsg
    • CommentTimeSep 19th 2008
     

    I thought I read somewhere you can control adspace outside of WordPress with OIO. Maybe I read it in the upcoming features of 2.0.

    Is there a way to do it with the current version? There is a php page in the same root directory as my WP installation that I want to rotate ads on.

    Here is the code I'm going to use:

    if(function_exists('oiopub_banner_output')) oiopub_banner_output('', 3);

    is there a way to make it "look" in WP and get the info?

    Thanks,

    Dennis Graves

    • CommentAuthorSimon
    • CommentTimeSep 20th 2008 edited
     
    Project Admin

    Yes, you can do it with the current version (1.62), using javascript. If you go to the "Ad Server" tab of the admin area, and copy the javascript code there to your php file, that should do the job.