Wordpress urgent problem

Discussion in 'WordPress' started by slaich2000, Apr 3, 2009.

  1. #1
    I have placed my adsense code under this code to place adsense ad under CONTENT:-

    <?php the_content('Continue reading...'); ?><div class="clear"></div>

    But I get the ads below Sharing and Releated posts why??? I want above them. Example :- http://www.easy16.com/yoga-can-prevent-injuries/

    Thanks
     
    slaich2000, Apr 3, 2009 IP
  2. sayzlim

    sayzlim Guest

    Messages:
    62
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Did you use any related post plugin?

    If you use some of these plugins, and set automatic add related post after each content,
    then your ads won't be above the related post.
     
    sayzlim, Apr 3, 2009 IP
  3. slaich2000

    slaich2000 Peon

    Messages:
    408
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Ok but i want related post, its important for me, any idea to do it thanks.
     
    slaich2000, Apr 3, 2009 IP
  4. sayzlim

    sayzlim Guest

    Messages:
    62
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    In the related post plugin, you should be able to insert the related post manually,

    usuall they are coded this way

    <?php related_post(); ?>

    you should read how to insert that manually from the plugin page.

    After that, go into your single.php in template and insert the code after the related post manual code.

    It should look like this.

    the_content();
    related_post();
    <-- adsense code -->

    try this first, it must work otherwise there is no other ways...
     
    sayzlim, Apr 3, 2009 IP
    slaich2000 likes this.
  5. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #5
    Rather than editing the code, you can use adsense plugin for your wordpress blog.

    Kailash
     
    kailash, Apr 3, 2009 IP
  6. slaich2000

    slaich2000 Peon

    Messages:
    408
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thanks Sayzlim ur great.
     
    slaich2000, Apr 3, 2009 IP
  7. Jalpari

    Jalpari Notable Member

    Messages:
    5,640
    Likes Received:
    137
    Best Answers:
    0
    Trophy Points:
    260
    #7
    but ur ads seems ok to me. I place adsense ads in theme.
    pm me if u need any help.
     
    Jalpari, Apr 3, 2009 IP