New Landing How can we help? Themeforest Theme Support Flexform Insert Google Adsense Code Below All Posts

Viewing 15 posts - 1 through 15 (of 18 total)
  • Posted in: Flexform
  • #136357
    mrjWells
    Member
    Post count: 137

    Is there a way to add google adsense code to the bottom of all blog posts without having to manually insert the code? I would like to place it below the post content (with some padding) on posts only, not pages. Also, if possible, I would like the option to be able to disable it on a post by post basis.

    #136362
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Are you referring to your analytics tracking code or google adsense advertising?

    – Kyle

    #136378
    mrjWells
    Member
    Post count: 137

    Google Adsense advertising code. Mine looks like this:

    <div align=”center”>
    <script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
    <!– Leaderboard –>
    <ins class=”adsbygoogle”
    style=”display:inline-block;width:728px;height:90px”
    data-ad-client=”ca-pub-7864443134285735″
    data-ad-slot=”1035080201″></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    </div>

    #136460
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    You would have to add it manually to each post, or use a sidebar and add it in a widget

    – Kyle

    #173101
    [email protected]
    Member
    Post count: 17

    Hi Kyle: Where should it be added? Inwhich part of the post?

    #173104
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    That’s up to you

    – Kyle

    #173106
    [email protected]
    Member
    Post count: 17

    What I meant was, is there a specific field where this code ought to be pasted? I mean, the answer you gave me may simply indicte that I may paste it anywhere, even in a text box or something.

    #173110
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Can you explain to me what the code is?

    – Kyle

    #173111
    [email protected]
    Member
    Post count: 17

    the code I got from google for adsense, to activate adsense:

    <script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
    <!– Latiffoto –>
    <ins class=”adsbygoogle”
    style=”display:inline-block;width:320px;height:100px”
    data-ad-client=”ca-pub-6009180873948855″
    data-ad-slot=”6084441721″></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>

    #173113
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Does it say you need to add this to the head section of your site?

    – Kyle

    #173121
    [email protected]
    Member
    Post count: 17

    Here’s a screen shot. The Google page is the following one:

    https://support.google.com/adsense/answer/65065?topic=28897&rd=1

    Attachments:
    You must be logged in to view attached files.
    #173127
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    You can install a Google Adsense Plugin, which will give you instructions

    – Kyle

    #173133
    [email protected]
    Member
    Post count: 17

    Can’t I simply paste this code somewhere in some of my pages? Am I the only one who has this problem? I mean, didn’t you ever come across such an issue? I prefer not to get into installing more plugins… I am spending more time trying to congigure Dante than actually working. Anyway, if you can’t give me the answer as where I sould paste the Adsense code, no problem, I won’t paste it and will look for support else where.

    #173134
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    You can paste it in your header.php file inside the <head> tags

    – Kyle

    #173148
    [email protected]
    Member
    Post count: 17

    Thank you.
    When I purchased Dante, I was under the impression that it was user friendly. I did not realize that one had to be familiar with doing. I have no idea whatthe header php is, but assume that if I muck around with it I’ll probably cause havoc on my site.
    Next time I’ll have to read carfully what different themes offer and check opinions.
    Thank you nevertheless and have a nice day

Viewing 15 posts - 1 through 15 (of 18 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register