• 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

#1
When I copy my Adsense code into the template, do I need to leave the code that's already there?
It:
Code:
<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?

Thanks
 

Chris D

XenForo developer
Staff member
#2
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.