Use the same position multiple times to display ads in one page

Re-use the same ad position in the same page

Marzo 3, 2022

If you need to reuse the same script position in a single page to display ads, be sure to change the id of the ad in the script, because you can’t have the same <div id="AADIV..."> as target of the script that show banners.

So, when you copy this code remember that in the second, third (etc.) pasted script you have to modify the id name.

The id name appears two times in the script, you can see the two strings that you have to change:

AdAdmin script to display banners, change the highlighted code if used multiple times.

Author

PHP expert. Wordpress plugin and theme developer. Father, Maker, Arduino and ESP8266 enthusiast.