I want to add 2 google ads in main page or in category: one adsense below the first post and one adsense below the second post.
I use this code:
<?php $count = 1; ?> /* before <?php if (have_posts())... */
and after this
<?php if ($count == 1) : ?> code adsense <?php endif; $count++; ?>
and so, I have a adsense below the first post, but I want also another adsense below the second post.
- The topic ‘How add 2 adsense (below the first and second post) in main page or category?’ is closed to new replies.