Adsense location

  • Terso

    #394

    Is there a way to move the adsense location above a post rather than below it?

    Admin

    Syahir Hakim

    #12350

    At the moment, not without editing the theme’s core files. Future version will include an action hook that you can use to safely add the adsense ads above the post via child theme.

    linerider

    #12351

    I also have a question related to adsense in the Graphene theme.

    On my site, I have more than three posts listed on each page. As you know, adsense will only show three adverts per page, therefore I have gaps between some posts where the ads should be. Is there any way for me to remove these gaps or perhaps a work-around?

    Secondly, I just wanted to say thanks for all your work. Graphene is a great theme.

    Admin

    Syahir Hakim

    #12352

    @linerider,

    I’ll modify the theme’s codes so that it’ll only display at most 3 adsense ads. Will be available in the next update.

    linerider

    #12353

    I only just checked back on the forum, Syahir. Thanks very much for including that update.

    Sunshyne

    #12354

    I have a static front page, set to the “About” page. I tried activating Adsense, and chose NOT to display on the front page… but it insists on displaying ads on the front page. The only way I’ve found to keep them off the front page is to let it show the most recent posts, which I really don’t want to do.

    What am I doing wrong?

    Admin

    Syahir Hakim

    #12355

    Try replacing line 182 of the loop.php file (in version 1.2.1) with this line:

    <?php if (!is_front_page() || (is_front_page() && $graphene_settings['adsense_show_frontpage'])) {graphene_adsense();} ?>

    Let me know if that works.

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

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!