1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Adsence question about Xen:hook

Discussion in 'XenForo Questions and Support' started by Steverd, Oct 13, 2013.

  1. Steverd

    Steverd Member

    When I copy my Adsense code into the template, do I need to leave the code that's already there?
    <xen:hook name="ad_above_top_breadcrumb" />
    Do I leave it or delete it? Or do I copy my adsense code above it? Or Below it?

  2. Chris D

    Chris D XenForo Developer Staff Member

    Leave it in, but it doesn't matter whether you place it above or below.

    The reason to leave it in, is some add-ons may add content to that location. It will save you confusion in the long run if you install an add-on and you're wondering why it isn't displaying properly :)

    That being said, template hooks are deprecated in favour of Template Modifications so it's unlikely it will ever be a problem.
    Steverd likes this.

Share This Page