1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Adsense code

Discussion in 'Guidelines / Compliance' started by Sahil72, Dec 26, 2016.

  1. #1
    I've applied for adsense and it's asking me to copy paste a code into my html after <head> tag, but when I go to wordpress theme editor, there are no HTML files only PHP files.

    Where do I put it? How do I connect my website to adsesne?
     
    Sahil72, Dec 26, 2016 IP
  2. Furquan Ahmed

    Furquan Ahmed Well-Known Member

    Messages:
    819
    Likes Received:
    76
    Best Answers:
    1
    Trophy Points:
    135
    #2
    You need to past this in header.php file above the closing <head\>
     
    Furquan Ahmed, Dec 27, 2016 IP
  3. pmf123

    pmf123 Notable Member

    Messages:
    1,447
    Likes Received:
    75
    Best Answers:
    0
    Trophy Points:
    215
    #3
    ?>

    adsense code

    <?
     
    pmf123, Dec 27, 2016 IP
  4. vicky paul

    vicky paul Active Member

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    56
    #4
    Best place for adsense is a sidebar, if your site has a sidebar then I suggest you, place ad code in the sidebar
     
    vicky paul, Jun 24, 2017 IP
  5. iwebsocial

    iwebsocial Well-Known Member

    Messages:
    1,715
    Likes Received:
    69
    Best Answers:
    4
    Trophy Points:
    170
    #5
    Place the code just after the <head> tag. if you are using WordPress then you can use WordPress header and footer file editor plugin.
     
    iwebsocial, May 1, 2018 IP