• Skip to main content
  • Skip to primary sidebar

xfpoint

XenForo Resource Site with Tips, Tricks and Hacks

  • Home
  • About
  • Glossary
  • Guides
  • Tutorials
  • Add-ons
  • Contact
You are here: Home / Guides / A Visual Guide To Ads in XenForo 2

A Visual Guide To Ads in XenForo 2

October 28, 2017 by Shabbir Bhimani

In XenForo 2 the default style has 24 ad locations as predefined. Visual Ad Guide to XenForo 1.x is here.

One ad location is defined in templates but is missing from the defined ad locations. It is called post_above and I am sure it will be fixed in the future releases. In the visual guides, I have added the post_above. Here is how each of them is placed in the layout.

1. Header

2. Footer

3. Home Page or Forum Home

4. Forum Page

5. Thread Page

Note: post_above, post_above_content, post_below_content will be executed after each post and one can customize it using the post variable which is passed as an argument to add the needed conditional to show ads only in the first post.

6. Member Page

7. Member list page

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)

Filed Under: Guides Tagged With: Ad Location, Ads, Visual Guide

About Shabbir Bhimani

xfpoint.com is an independent XenForo resource site with tips, tricks, hacks, and resources for new XenForo webmasters to improve their community. Read More…

Primary Sidebar

About Shabbir Bhimani

xfpoint.com is an independent XenForo resource site with tips, tricks, hacks, and resources for new XenForo webmasters to improve their community. Read More…

© xfpoint 2025. xfpoint.com is an independent XenForo resource site for new xenForo webmasters.

Copyrighted code samples of XenForo will be visible only if you have a valid xenForo license.