XF 1.2 Adsence question about Xen:hook

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?


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.