AndrewSimm Well-known member Oct 2, 2017 #1 I have some staff only pages that I would like to hide ads on. Is there an easy way to do this outside of CSS?
I have some staff only pages that I would like to hide ads on. Is there an easy way to do this outside of CSS?
P Paul B XenForo moderator Staff member Oct 2, 2017 #2 Use a conditional statement and an array of the pages. For example: https://xenforo.com/community/resources/responsive-adsense.2084/updates#resource-update-16496
Use a conditional statement and an array of the pages. For example: https://xenforo.com/community/resources/responsive-adsense.2084/updates#resource-update-16496
AndrewSimm Well-known member Oct 2, 2017 #3 Brogan said: Use a conditional statement and an array of the pages. For example: https://xenforo.com/community/resources/responsive-adsense.2084/updates#resource-update-16496 Click to expand... Is $contentTemplate the variable in XF2?
Brogan said: Use a conditional statement and an array of the pages. For example: https://xenforo.com/community/resources/responsive-adsense.2084/updates#resource-update-16496 Click to expand... Is $contentTemplate the variable in XF2?