Reply To: inject ads in categories

Not one for queueing up? Get faster support with AdRotate Pro!
The forum is checked a few times per week. With AdRotate Pro you can get answers faster using email support.
More private, more direct and usually a solution within a day! Learn more »

Home Forums AdRotate for WordPress General Support inject ads in categories Reply To: inject ads in categories

#31245

Andre Cameron
Badges:

Thanks I think I figured it out, I’m sure if its coded properly, not really good at this stuff, but I went into the taxonomy-listing-category page and inserted the following:

<?php
   if (strpos($_SERVER["REQUEST_URI"], "/listing-category/attractions/") !== 0): ?>
   <?php echo adrotate_group(2); ?>
<? else: ?>
<?php echo adrotate_group(3); ?>
<? endif; ?>