puts a radom banner between posts.
any wordress plugin that does this....
Collapse
X
-
-
I'm pretty sure you can just run WPAds and insert it into your template.Your Paysite Partner
Strength In Numbers!
StickyDollars | RadicalCash | KennysPennies | HomegrownCashComment
-
-
.Comment
-
I use something like this
Code:<?php $bannerAd[1] = 'banner ad code'; $bannerAd[2] = 'banner ad code'; $adCount = count($bannerAd); $randomAdNumber = mt_rand(1, $adCount); echo $bannerAd[$randomAdNumber]; ?>
Comment
-
Thanks for this one!

Comment
-
http://meandmymac.net/plugins/adrotate/
I dont like to spam a banner after every post, I like to put every three posts
this will show a random banner using zone 1 with adrotate
hope this helpsCode:<?php if (have_posts()) : ?> <?php $count = 0; ?> <?php while (have_posts()) : the_post(); ?> <div <?php post_class() ?> id="post-<?php the_ID(); ?>"> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <small><?php the_time('F jS, Y') ?></small> <div class="entry"> <?php the_content('Read the rest of this entry »'); ?> </div> <p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p> </div> <?php if(++$counter % 3 == 0) : ?> <?php echo adrotate_banner('1'); ?> <?php endif; ?> <?php endwhile; ?> <?php endif; ?>Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

My Latest ThemeComment

Comment