Adsense In Wordpress 2.0

Discussion in 'WordPress' started by SUPERSTEVE9219, Nov 27, 2006.

  1. #1
    Hello my website is www.geekporn.us, I used to be able to put adsense between post with no trouble in wordpress 1.0 but once I upgraded to 2.0 I have alot of trouble with getting adsense to show after the first post or have it show after ever X number of post.

    anyone willing to help?
     
    SUPERSTEVE9219, Nov 27, 2006 IP
  2. disgust

    disgust Guest

    Messages:
    2,417
    Likes Received:
    133
    Best Answers:
    0
    Trophy Points:
    0
  3. SUPERSTEVE9219

    SUPERSTEVE9219 Well-Known Member

    Messages:
    170
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    110
    #3
    thanks but thats for putting ads IN post, I want them after the post.
     
    SUPERSTEVE9219, Nov 27, 2006 IP
  4. Manthem

    Manthem Well-Known Member

    Messages:
    432
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    110
    #4
    I JUST setup Adsense 2.0 on my website and am using Deluxe and have been trying to figure this out so I came here and read this. Weird.

    PS. My name is Steve too.
     
    Manthem, Nov 27, 2006 IP
  5. disgust

    disgust Guest

    Messages:
    2,417
    Likes Received:
    133
    Best Answers:
    0
    Trophy Points:
    0
    #5
    my impression has always been it's rather flexible. are you positive it can't do what you're looking for?
     
    disgust, Nov 27, 2006 IP
  6. SUPERSTEVE9219

    SUPERSTEVE9219 Well-Known Member

    Messages:
    170
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    110
    #6
    mabey im reading it wrong, ill download it and try it out.

    From what I read it seems to me that it only lets you post ads in your post.

    anyways I will try it out and post back saying how it works
     
    SUPERSTEVE9219, Nov 27, 2006 IP
  7. Manthem

    Manthem Well-Known Member

    Messages:
    432
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    110
    #7
    I'm trying to insert ads between the first and second post on the home page, does anyone know an easy way of doing this?
     
    Manthem, Nov 27, 2006 IP
  8. SUPERSTEVE9219

    SUPERSTEVE9219 Well-Known Member

    Messages:
    170
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    110
    #8
    I am also!


    Adsense Deluxe is great but doesnt do what I am asking for
     
    SUPERSTEVE9219, Nov 27, 2006 IP
  9. Manthem

    Manthem Well-Known Member

    Messages:
    432
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    110
    #9
    This is what I did and it works beautifully now.

    Download CG-Inbetween from http://www.chait.net/index.php?p=310 and enable it.

    Create a separate HTML file named adsense.html with your adsense code and save it in the wp-content folder.

    Go to the In-Between tab and add a new inbetween. Put 1 in the between field and 'adsense.html' in the file field.

    Works. Perfectly.
     
    Manthem, Nov 27, 2006 IP
  10. SEO Buzz Box

    SEO Buzz Box Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    It depends where you want Adsense to appear, want it right after the current post on all pages?

    Go into Wordpress > Presentation > Theme Editor > Single Post (if you have a single.php) and find the following line:

    <div class="story"><?php the_content(); ?></ div>

    (Cut and paste adsense code here)

    Or if you want it after comments put it after the next line.

    Click "Update File" and do not worry if you do not get it right the first time, just go in and move it again and update until it appears in the correct area.

    There is no need for plugins to complete this task, let me know how you do, oh yeah and hi this is my first post. :)
     
    SEO Buzz Box, Nov 27, 2006 IP
  11. abcdefGARY

    abcdefGARY Well-Known Member

    Messages:
    665
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    110
    #11
    abcdefGARY, Nov 27, 2006 IP
  12. SUPERSTEVE9219

    SUPERSTEVE9219 Well-Known Member

    Messages:
    170
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    110
    #12
    that goes for 2.0 to right?
     
    SUPERSTEVE9219, Nov 27, 2006 IP
  13. SUPERSTEVE9219

    SUPERSTEVE9219 Well-Known Member

    Messages:
    170
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    110
    #13
    bolth of them dont work with 2.0:(

    isnt there a simple code you could use with 2.0
     
    SUPERSTEVE9219, Nov 27, 2006 IP
  14. Not_My_Style

    Not_My_Style Peon

    Messages:
    535
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #14
    I know I used this with WordPress 2.0 to put ads inbetween my posts. I believe it can also put your ads after the posts as well.

    If that didn't work, try this
     
    Not_My_Style, Nov 27, 2006 IP
  15. abcdefGARY

    abcdefGARY Well-Known Member

    Messages:
    665
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    110
    #15
    Are you sure the one I suggested didn't work?

    I'm using that with WP2.0 right now...
     
    abcdefGARY, Nov 27, 2006 IP
  16. thicke

    thicke Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #16
    This might help...

    http://www.problogger.net/archives/2006/03/09/how-to-placing-adsense-strategically-between-posts/

    Sorry....This is my first post and I guess I'm not allowed to post a link.
     
    thicke, Nov 27, 2006 IP
  17. dalster44

    dalster44 Active Member

    Messages:
    722
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    60
    #17
    In your WP themes folder, open up Index.php

    Look for this string about 10 lines down:

    <?php the_content(__('<strong>(more...)</strong>')); ?>
    <?php the_permalink() ?>&title=<?php the_title(); ?>&bodytext=<?php the_excerpt() ?>


    Put your adsense code in directly after that. Your ads will show up just after the post.
     
    dalster44, Nov 27, 2006 IP
  18. SUPERSTEVE9219

    SUPERSTEVE9219 Well-Known Member

    Messages:
    170
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    110
    #18
    could you aim me at supersteve9219? I cant get this thing to work!
     
    SUPERSTEVE9219, Nov 27, 2006 IP
  19. abcdefGARY

    abcdefGARY Well-Known Member

    Messages:
    665
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    110
    #19
    Um, I don't have AIM... but I sent you a private message.
     
    abcdefGARY, Nov 27, 2006 IP
  20. SUPERSTEVE9219

    SUPERSTEVE9219 Well-Known Member

    Messages:
    170
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    110
    #20
    Is there any way to get that to show ONLY after the first post?
     
    SUPERSTEVE9219, Nov 27, 2006 IP