craigjarvis
Registered Member
- Nov 19, 2009
- 80
- 10
I have a code setup in my index.php to insert my ad into the first post of the page only with this code
<?php the_content(__('(more...)')); ?>
<?php if ($count == 1) : ?>
<script type="text/javascript"><!--
google_ad_client = "pub-*************";
/* 300x250, created 7/15/10 */
google_ad_slot = "5671363641";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
How do I change it to cause ads to be inserted into the first 3 posts?
Thanks for your help.
<?php the_content(__('(more...)')); ?>
<?php if ($count == 1) : ?>
<script type="text/javascript"><!--
google_ad_client = "pub-*************";
/* 300x250, created 7/15/10 */
google_ad_slot = "5671363641";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
How do I change it to cause ads to be inserted into the first 3 posts?
Thanks for your help.