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

wordpress html help!!

Discussion in 'Blogging' started by star293, Nov 4, 2010.

  1. star293

    star293 Registered Member

    Joined:
    Jan 13, 2010
    Messages:
    79
    Likes Received:
    4
    How do i place my adsense like one in associated content? I don't want it to be in very top left of the content but after 2 or 3 sentences..

    [​IMG]
     
  2. 6hundy

    6hundy Junior Member

    Joined:
    May 18, 2010
    Messages:
    190
    Likes Received:
    58
    Im assuming you want to do this automatically?? I think the plugin: all in one "Adsense and YPN" will do that.
     
  3. flaktrak

    flaktrak Power Member

    Joined:
    Mar 1, 2010
    Messages:
    522
    Likes Received:
    139
    Location:
    South!
    you put in a div and float it to the left put the first few sentences before the div the last few after.
     
  4. blacknight9

    blacknight9 Newbie

    Joined:
    Jan 1, 2009
    Messages:
    44
    Likes Received:
    37
    Home Page:
    Just put the code in the middle of your text, and make it float left

    Code:
    <p>Text on top.[B][COLOR="Red"] <div style="float:left; width:300px; height:250px;">Adsense code</div>[/COLOR][/B] Other text </p>
     
  5. star293

    star293 Registered Member

    Joined:
    Jan 13, 2010
    Messages:
    79
    Likes Received:
    4
    hi hundy um i just looked into it and its like same as all the other adsense plugins. What i want is not top left position but top left after 2 or 3 sentences like yo usee on associated content D: .. so its like a mixture between top left and middle left i guess.. Any idea?? :(

    hey flaktrak and blacknight but is there a way to just put a code in single.php or something like that and it puts ad in all my article and future article? I want to automate it and not add in every single of my article D:
     
    Last edited: Nov 4, 2010
  6. flaktrak

    flaktrak Power Member

    Joined:
    Mar 1, 2010
    Messages:
    522
    Likes Received:
    139
    Location:
    South!
    Hmm that is alot harder to do as I think you would have to change how single.php deals with the post string. Let me do a test on one of my blogs and get back to you.
     
  7. blacknight9

    blacknight9 Newbie

    Joined:
    Jan 1, 2009
    Messages:
    44
    Likes Received:
    37
    Home Page:
    I think you need to manipulate the text from the content. Split it into 2 chunks and use the above suggestion to achieve what you want. Anyone got a better solution?
     
  8. star293

    star293 Registered Member

    Joined:
    Jan 13, 2010
    Messages:
    79
    Likes Received:
    4
    D: i didn't know this is a hard task
     
  9. vrodriguez305

    vrodriguez305 Junior Member

    Joined:
    Dec 30, 2009
    Messages:
    138
    Likes Received:
    44
    I had the same issue, thanks for the tips guys.
     
  10. Hostwinds

    Hostwinds Power Member UnGagged Attendee Enterprise Member

    Joined:
    May 17, 2010
    Messages:
    766
    Likes Received:
    544
    Occupation:
    C.E.O.
    Location:
    Oklahoma
    Home Page:
    Just use an adsense plugin that would be the easiest way to accomplish it

    Search for plugins with the keyword adsense from within wordpress.