WordPress.org

Ready to get started?Download WordPress

Forums

How to put adsense between posts (5 posts)

  1. cowbell
    Member
    Posted 8 years ago #

    I know this has probably been addressed numerous times, but the search funtion here is terrible and I can't find it.

    How can I go about having my adsense display above the first post, between all posts on the front page, and on the individual post pages? (On 2.0 of course)

  2. blacknight
    Member
    Posted 8 years ago #

    You know you can only have 3 adsense blocks per page?

  3. cowbell
    Member
    Posted 8 years ago #

    Okay, how do I go about having one above and below posts?

  4. cowbell
    Member
    Posted 8 years ago #

    Bump

  5. patrickw
    Member
    Posted 8 years ago #

    This will put your adsense code at the end of each post on your main homepage.

    Open up your index.php inside of your template directory and add the adsense code here:

    <div class="entry">
    <?php the_content('Continue reading...'); ?>
    </div>
    <!-- Put your adsense code here. -->

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags