1. 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

Discussion in 'Styling and Customization Questions' started by Thierry Martin, Dec 16, 2014.

  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?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    How have you created the pages?

    Are they page nodes or something else?
  3. I created them using "Create New Page" under "Node Tree."
  4. Brogan

    Brogan XenForo Moderator Staff Member

    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.

Share This Page