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.

Where Can I Add This Code In The Custom_functions.php ?

Discussion in 'PHP' started by polytron, Feb 19, 2013.

  1. #1
    I am trying to customize my thesis wordpress theme. I want to add a adsense until link under the navigation menu, but whatever I do is keep getting "Parse error: syntax error, unexpected '}'" Could anyone kindly advise what to do? Thanks

    How can i add the following code below;



    to this custom_functions.php file ?


     
    polytron, Feb 19, 2013 IP
  2. indyonline

    indyonline Prominent Member

    Messages:
    4,626
    Likes Received:
    248
    Best Answers:
    2
    Trophy Points:
    335
    #2
    Last edited: Feb 19, 2013
    indyonline, Feb 19, 2013 IP
  3. innozemec

    innozemec Active Member

    Messages:
    84
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    68
    #3
    you can put it anywhere you like, just make sure it is outside any other function declaration
     
    innozemec, Feb 19, 2013 IP
  4. anuradhan

    anuradhan Active Member

    Messages:
    371
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    65
    #4
    copy paste whole custom_functions.php code.
    i can help you fix it.
     
    anuradhan, Feb 20, 2013 IP