1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to put Adsense like this in WordPress

Discussion in 'WordPress' started by newzone, Nov 24, 2007.

  1. #1
    I found a website isn't the best example but i want to know if somebody can tell me how to put adsense not before or after the post in Wordpress , i want it in post like the photos from this website :
    http://1blogdetelevision.com/
     
    newzone, Nov 24, 2007 IP
  2. butterflymedia

    butterflymedia Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Try searching for a plugin for WordPress called Shylock AdSense. I use it on my blog. Look here for my example placements. And check out the older posts to see various methods of ad placement.
     
    butterflymedia, Nov 24, 2007 IP
  3. newzone

    newzone Well-Known Member

    Messages:
    2,865
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    135
    Digital Goods:
    1
    #3
    ok thanks for your advice
     
    newzone, Nov 24, 2007 IP
  4. movidalatina

    movidalatina Well-Known Member

    Messages:
    1,268
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    105
    #4
    Please do a search here on DP
    i believe i saw someone with your FIX
    but that was 2 weeks ago i saw it :-/
     
    movidalatina, Nov 25, 2007 IP
  5. YoungMaster

    YoungMaster Peon

    Messages:
    330
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You can just wrap it in a div and then use css to position it.

    Here is what it will look like.

    Use this to position to the left of content:
    <div style="float:left; width:250px; margin:0 5px 0 0;">
    ADSENSE CODE GOES HERE
    </div>
    Code (markup):
    Use this to position to the right of content:
    <div style="float:right; width:250px; margin:0 0 0 5px;">
    ADSENSE CODE GOES HERE
    </div>
    Code (markup):
    Of course you will want to adjust the width to fit the adsense block that you are using.
     
    YoungMaster, Nov 25, 2007 IP
  6. newzone

    newzone Well-Known Member

    Messages:
    2,865
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    135
    Digital Goods:
    1
    #6
    Thanks very much
     
    newzone, Nov 26, 2007 IP
  7. newzone

    newzone Well-Known Member

    Messages:
    2,865
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    135
    Digital Goods:
    1
    #7
    Works great , but i have a problem now , can you tell me how to put the ads like this ( how you show me ) but only in first post on the main page , archieves , categories, because i have too many adsense ads, i have 2 in the sidebar
     
    newzone, Nov 26, 2007 IP
  8. Pixelrage

    Pixelrage Peon

    Messages:
    5,083
    Likes Received:
    128
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Take one out of the sidebar, I think it would be a bad idea to have 2 ads in one spot. The goal should be to have one in the upper left & upper center, because that is the hottest spot to have an ad.
     
    Pixelrage, Nov 26, 2007 IP
  9. YoungMaster

    YoungMaster Peon

    Messages:
    330
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #9
    You will need to edit "the loop" for that. It's not to hard. Here is a tutorial to help you out. http://www.tamba2.org.uk/wordpress/adsense/

    Hope that helps.
     
    YoungMaster, Nov 26, 2007 IP
  10. Homie22

    Homie22 Well-Known Member

    Messages:
    100
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    136
    #10
    you gotta edit files in admin area
     
    Homie22, Nov 26, 2007 IP
  11. CypherHackz

    CypherHackz Well-Known Member

    Messages:
    447
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    155
    #11
    CypherHackz, Nov 27, 2007 IP