i want to add google adsense ads before Tagged as and Related posts

Discussion in 'AdSense' started by yusuf0024, Sep 3, 2011.

  1. #1
    i done everything and i convert my blog in to google adsense revenue sharing program by using Author Advertising Plugin.

    but when i added this code on Thesis Custom Function
    //************************************************** *************************
    /* Adsense after every post Author advertising */
    function add_adsense_media2 () {
    ?>
    <p><?php if (function_exists('kd_template_ad')) { kd_template_ad(2); } ?>
    </p>
    <?php
    }
    add_action('thesis_hook_after_post', 'add_adsense_media2');

    //************************************************** *************************
    than i cant not see ads before Tagged as and Related posts. Image 2.jpg
     
    yusuf0024, Sep 3, 2011 IP
  2. TechListen

    TechListen Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    There should be some error in the Ad code. Check the source of the page first, whether it has correct Ad code or not.
     
    TechListen, Sep 4, 2011 IP
  3. yusuf0024

    yusuf0024 Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    everything is ok i want to add google adsense ads before Tagged as and Related posts
     
    yusuf0024, Sep 4, 2011 IP
  4. snakeair

    snakeair Notable Member

    Messages:
    1,743
    Likes Received:
    198
    Best Answers:
    4
    Trophy Points:
    280
    #4
    Did you ask for help in the blogging section on this forum?
     
    snakeair, Sep 4, 2011 IP
  5. digitalwebman06

    digitalwebman06 Active Member

    Messages:
    1,712
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    53
    #5
    i am sure that the problem is with your ad code. please check the code again. i don't know programming very welll but i know that this type of problems are occured when coding is not accuriate.
    thanks
     
    digitalwebman06, Sep 6, 2011 IP