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

XF 1.4 Adding ad to sidebar in Page only

#1
I have created some pages, not part of the regular forums and threads, and wish to use adsense in the sidebar, however I don't see a template for this. Is there an easy way to have the sidebar display ads in pages only?
 

Brogan

XenForo moderator
Staff member
#4
You can use a conditional statement utilising the template name, which is pagenode_container.

There are links in my signature explaining how to do that.