Announcement

Collapse
No announcement yet.

Adsense on homepage only

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Adsense on homepage only

    Hi all, I would like to put the google adsense only on the homepage up in the header. Once, someone clicks a forum, I don't want the ad to show up. Can someone tell me where to put the code for this?

    Thank you!

  • #2
    <if condition="THIS_SCRIPT == index">adsense code </if>

    Put that into the header.

    Comment


    • #3
      Thanks Zachery! I just realized I posted under version 2.0. I meant for 3.0, but I have a feeling it is the same for both so I am going to give it a try!

      Thanks again.

      Comment


      • #4
        Ill move this to 3, this wouldnt have been possible by default in vB2

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X