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 and related article side by side in wordpress?

Discussion in 'HTML & Website Design' started by ariesto, Jul 24, 2009.

  1. #1
    [​IMG]

    how to set up adsense and related article side by side as shown in picture above in wordpress.

    I am new to wordpress so i seek help from all of you guys. please render your helps. thanks
     
    ariesto, Jul 24, 2009 IP
  2. BenOwns

    BenOwns Member

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #2
    i never really used it but try putting it in an iframe?
     
    BenOwns, Jul 24, 2009 IP
  3. ariesto

    ariesto Well-Known Member

    Messages:
    196
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    108
    #3
    I dont think it is using iframe as iframe need thirdparty link from other website
    in joomla it can be easily achieved as joomla has module where we can placed out ads and related article side by side.
    however in wordpress, i am clueless
     
    ariesto, Jul 24, 2009 IP
  4. Oranges

    Oranges Active Member

    Messages:
    2,610
    Likes Received:
    92
    Best Answers:
    0
    Trophy Points:
    90
    #4
    I think the design of this particular theme is made with the use of related post plugin and the theme designer have designed separate Div's for adsense block and related posts plugin block on the home page. So its all done with the theme, and its pretty easy to implement if you have some basic knowledge of CSS and WP themes coding.
     
    Oranges, Jul 24, 2009 IP
  5. ariesto

    ariesto Well-Known Member

    Messages:
    196
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    108
    #5
    that is precisely what i am looking for
    i need the code or any guidance in how to achieve this
     
    ariesto, Jul 25, 2009 IP
  6. CRASS

    CRASS Active Member

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #6
    Couldn't you just use tables?
    <table width="100%" cellpadding="5px"><tr><td valign="top">ad sense here</td><td valign="top">and another ad sense 
    
    here</td></tr></table>
    PHP:
     
    CRASS, Jul 25, 2009 IP
  7. mrsohel_tex

    mrsohel_tex Peon

    Messages:
    72
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    @ariesto

    It will be better to use plugins for ad publishing apecially there are lots of plugins for adsense publishing.
     
    mrsohel_tex, Jul 25, 2009 IP
  8. Submerged

    Submerged Active Member

    Messages:
    132
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #8
    What I do is have my normal text just written out and then encase the Google ad in a code like this:
    <div style="float: right; margin: 3px 3px 3px 3px;">
    Code (markup):
    This will make the ad sit on the right side while the text (whether that is a related posts plug-in or simply your content) flows around it. You can change it from left to right or change the 3px border to whatever you feel like. Don't forget to add "</div>" at the end of the Google code though.
     
    Submerged, Jul 25, 2009 IP