Elegantvogue

Member

Forum Replies Created

  • In reply to: Responsive Layout

    #28182

    hmmmm.. I understand that…

    Already bought Graphene Mobile 🙂 months ago…

    Kind Regards

    In reply to: How To Insert an Ad after first post

    #26854

    Hi

    Yea from action hooks, I turn on “Graphene index pre loop” but when I insert my ad code here… The code appears on top of main container but I want it after the first post in the container…

    I also tried “Graphene after post content” in loop.php… then the ad appears after every post. Even if I try this code… it still comes after every post

    Code:
    <?php if ( $postcount == 1) { ?>
    Adsense Code Goes Here
    <?php } ?>

    Any solution or anyone can tell me Am I using the right code?

    Thanks

    In reply to: How To Insert an Ad after first post

    #26852

    I want adsense on the home page under the first post only…. It should not appear after every post…

    here is the example of another blog

    http://img94.imageshack.us/img94/926/53243417.png

    I think I have to edit this code

    Code:
    if ( ! ( is_home() && $graphene_settings[‘frontpage_posts_cats’] && ! have_posts() ) ) {
    while ( have_posts() ) {
    the_post();
    get_template_part( ‘loop’, ‘index’ );
    }
    }

    I need something like this integrated into the code…

    <?php if ( $postcount == 1) { ?>

    Adsense Code Goes Here

    <?php } ?>

Viewing 3 posts - 1 through 3 (of 3 total)