Purchase OIOpublisher now for just $47.

Take control of your ad space.

Click here to purchase

    • CommentAuthorjshare
    • CommentTimeApr 13th 2008
     

    What's the PHP call for adding the paid links to a theme that isn't widgetized? I like the way you give it for the banner zones :)

    • CommentAuthorSimon
    • CommentTimeApr 13th 2008
     
    Project Admin

    The code is:

    <?php
    if(function_exists('oiopub_sidebar_links')) {
    oiopub_sidebar_links('', $title, $link);
    }
    ?>

    The $title var can be left empty, or replaced with your own title. The $link var lets you choose whether or not to have the "Advertise Here" link shown (1 for yes, 0 for no - defaults to yes).

    I might see about getting a similar "code preview" into the links settings section for v1.6 too.

    • CommentAuthorjshare
    • CommentTimeApr 14th 2008
     

    thanks Simon

    • CommentAuthorjshare
    • CommentTimeApr 22nd 2008
     

    Simon, if I leave the $title var empty, your code displays 'Recommended Sites' (see output.php). I already have a header in place so I'd like no title whatsoever to appear from your code. I could hack your php but I'd rather not and if I use my own hack of   for the title, the output leaves me with an empty line of whitespace that I don't need.

    Any suggestions?

    • CommentAuthorSimon
    • CommentTimeApr 22nd 2008
     
    Project Admin

    Use -1 for $title ;)