It is very simple:
<?php if ($wp_query->current_post == 0) : ?>
<div style=”float:right”>
ads come here.
</div>
<?php endif; ?>
If you don’t want the ads show at homepage, using:
<?php if (!is_home())Â ?>
Study PHP Skills, Share PHP Code
It is very simple:
<?php if ($wp_query->current_post == 0) : ?>
<div style=”float:right”>
ads come here.
</div>
<?php endif; ?>
If you don’t want the ads show at homepage, using:
<?php if (!is_home())Â ?>