![]() |
Hide ad if on xyz page
I have some pages where I want to avoid my ads from showing. So, I need some type of conditional.
How can stop my ad code from showing on certain pages? I am using 3.8x. Thanks, Jon |
https://vborg.vbsupport.ru/showthread.php?t=215032
On the linked page, look for the If This Script Is or Is Not XXX section. You will be wanting to use the following on the page you do not want the ad code to show. Code:
<if condition="THIS_SCRIPT != 'your page name'"></if> |
I tried something like that but I am not sure I got the page name right. Is it the file name or template name or what?
|
What php file created the page?
Look in URL |
Quote:
PHP Code:
|
All times are GMT. The time now is 05:04 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|