H all,
can someone give me a recommendation which AD management tool might be the "best" or "optimal" to use wiith choices?
Thanks in advance
H all,
can someone give me a recommendation which AD management tool might be the "best" or "optimal" to use wiith choices?
Thanks in advance
I tried following plugin in the past: OIOpublisher and I really like it because it offers many useful features (like selling banners with different payment gateways, creating several ad zones, you can use it without wordpress, etc.). I didn't test it with Choices though (I used Brightbox & Corona to test it). Another popular plugin is http://codecanyon.net/item/adpress-wordpress-ad-manager/1510785 however I didn't test it and based on the description I'd say it's not as good as OIOpublisher...
Many thanks for the recommendation Dude.
In case you are an Affiliate, I'd buy it via your Affiliate-Link.
Another question: How can I add an individual AD (or just a simple grafic) on top of a category?
Has OIO that capability or do I need to tweak the code to achieve this?
Yes, you can add the oio ad zones to any php/template file. Have a look at the documentation here: http://forum.oiopublisher.com/discussion/520/customising-the-ad-manager/#Item_4
Eg if you want to add a banner/ad zone to the archive page open up archive.php and search for following code:
<div class='content <?php avia_layout_class( 'content' ); ?> units'>
<?php
You can insert your banner function below it like:
<div class='content <?php avia_layout_class( 'content' ); ?> units'>
<?php
if(function_exists('oiopub_banner_zone')) {
$zone_id = 1;
$options = array( 'align' => "left", 'empty' => "-1" );
oiopub_banner_zone($zone_id, $options);
}
and you just need to change the zone id (which can be different - it depends on the number of your zones, etc.) and your options.
Many Thanks Dude! Works like a charm.
One problem is left,
The banner is shown in the category-view, when I call the category link directly.
Where it is not shown, is the frontpage, when I assign a category to the Widget [ blog ] under [ Choices Template Builder ] > Add Elements > Blog > Which categories should be used for the blog? > The target category
Where do I have to place the add, that it appears there as well?
Open up includes/helper-templates.php and search for following code:
echo "<div class='template-blog ".avia_layout_class( 'main' , false )." $extraClass'>";
echo "<div class='content units ".avia_layout_class( 'content' , false )."'>";
get_template_part( 'includes/loop', 'index');
Add the banner code before the get_template_part() function like:
echo "<div class='template-blog ".avia_layout_class( 'main' , false )." $extraClass'>";
echo "<div class='content units ".avia_layout_class( 'content' , false )."'>";
if(function_exists('oiopub_banner_zone')) {
$zone_id = 1;
$options = array( 'align' => "left", 'empty' => "-1" );
oiopub_banner_zone($zone_id, $options);
}
get_template_part( 'includes/loop', 'index');Great! That works perfect.
The file to edit is <helper-template-dynamic.php> - just in case someone else want to tweak the frontpage.
@Dude - Cheers, wonderful kind of support.
This topic has been closed to new replies.