How to Exempt Individual Posts from Footer Code?
-
I used a custom code to insert a floating sticky footer ad on my Desktop Site. I pasted the code on the Footer section using Adinsert general settings but I wish to block the code to load on specific pages. Can you help me!
<style> .Desktop-Sticky { text-align: center; margin: 0; width: 100%; overflow: hidden; position: fixed; left: 0; bottom: 0; z-index: 99999; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; overflow: visible; } </style> <center> <div class="Desktop-Sticky"> ------AdUnit Code Here------ </div> </div> </center>-
This topic was modified 4 years, 7 months ago by
nikhilazza.
The page I need help with: [log in to see the link]
-
This topic was modified 4 years, 7 months ago by
-
Hello,
you can blacklist page IDs:
https://adinserter.pro/documentation/black-and-white-listsI already blacklisted the Post IDs, but as I am inserting the code in the footer section the ads are loading on all the posts!
Then blacklist page urls.
I tried that as well; no use!
I inserted the ad code directly inside the footer above the </body> tag. The want to exempt ads from loading on certain pages.
That should always work.
However, remote debugging doesn’t seem to be enabled so we can’t check.
Hey,
I Enabled Remote Debugging. Please check and let me know!
No block seems to be inserted on that post:
INSERTION SUMMARY ====================================== BLOCK 1 FAILED CHECK: ID BLOCK 2 FAILED CHECK: ID BLOCK 3 FAILED CHECK: MOBILE DEVICES BLOCK 7 FAILED CHECK: ID BLOCK 8 FAILED CHECK: ID BLOCK 10 FAILED CHECK: ID BLOCK 11 FAILED CHECK: ID BLOCK 12 FAILED CHECK: ID BLOCK 13 FAILED CHECK: MOBILE DEVICES BLOCK 15 FAILED CHECK: MOBILE DEVICESAnd don’t use server-side device detection as you are using caching:
https://adinserter.pro/documentation/device-detectionStill having issues?
NO! Thanks Issue resolved.
The topic ‘How to Exempt Individual Posts from Footer Code?’ is closed to new replies.