1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How do I get AdSense ads between each of my blog postings?

Discussion in 'Blogging' started by XBLElec, Sep 26, 2011.

  1. XBLElec

    XBLElec Junior Member

    Joined:
    Sep 16, 2011
    Messages:
    177
    Likes Received:
    32
    I'm trying to get ads between each of my blog postings. How would I go about doing that?

    They would have to be the length of the post so they flow with the page design.

    Thank you for your help,

    XBL
     
  2. TermsB

    TermsB Senior Member

    Joined:
    May 19, 2009
    Messages:
    1,076
    Likes Received:
    735
    Location:
    USA
    The easiest way to to just find another WordPress theme that gives you what you are looking for.
     
  3. XBLElec

    XBLElec Junior Member

    Joined:
    Sep 16, 2011
    Messages:
    177
    Likes Received:
    32
    I only have the option of two themes. How do I get more?
     
  4. ronegraT

    ronegraT Power Member

    Joined:
    Dec 29, 2010
    Messages:
    625
    Likes Received:
    101
    Occupation:
    sleeping
    Location:
    Sweden
    google for wordpress themes download those you want and upload them to your account through cpanel or ftp

    You can also browsw themes inside the cpanel -> themes -> manage themes -> install themes (the easiest way for a newbie)
     
  5. teeniegenie

    teeniegenie Supreme Member

    Joined:
    Aug 28, 2010
    Messages:
    1,295
    Likes Received:
    663
    Location:
    The Cool Part of Vegas
    Use the quickadsense plugin...works great and makes plugging in ads easy wherever you want them in your posts. Just search for it through your WP dashboard...
     
  6. jedediahd

    jedediahd Jr. VIP Jr. VIP

    Joined:
    Nov 4, 2008
    Messages:
    202
    Likes Received:
    38
    I prefer the ad-injection plugin. Works great for what you are talking about.
     
  7. projectx

    projectx Power Member

    Joined:
    Dec 4, 2006
    Messages:
    657
    Likes Received:
    736
    How to Add Ads Between Posts:

    1. Log into your WordPress admin panel

    2. Select Presentation -> Theme Editor from the navigation menu

    3. From the Theme Editor, find and select the "Main index template" (index.php) from the list to the right

    4. Find the following line

    <?php if (have_posts()) : ?>

    5. Above it add the following line

    <?php $count = 1; ?>

    6. Now find the following line

    <div class="entry">

    7. Add the following code directly below it (replace AdSense Code with your code)

    <?php if ($count == 1) : ?>
    AdSense Code
    <?php endif; $count++; ?
     
  8. fletch101

    fletch101 Newbie

    Joined:
    Sep 27, 2011
    Messages:
    1
    Likes Received:
    0
    Have you tried the Easy AdSense plugin?