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

If you need to reuse the same script position in a single page to display ads, be sure to change…

March 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

I'm a software engineer, an everyday web developer and a maker. I usually build sites with PHP, within or without WordPress. I build Internet of Things with Arduino and ESP8266. I'm the founder of Rockit.it and Dailybest.it and I'm actually the Chief Technical Officer of Better Days web agency.

Recommended

AdAdmin add footer sticky banner

To add a footer sticky banner with AdAdmin software follow these steps: Create a new AdAdmin position Create a new…

April 16, 2022

AdAdmin vignette banner configuration

Create a Position for the vignette ads: Flag the “Vignette mode” in the position configuration (the script above changes, so…

April 12, 2022

AdAdmin ad scripts with document.write

Script banners that uses document.write javascript function doesn’t work anymore with AdAdmin positions since version v.3.85 (03/11/2020). This happens because…

March 9, 2022

AdAdmin video banner examples

In this article you can find two HTML5 video banner templates that can be used in your AdAdmin installation. These…

January 29, 2022

AdAdmin v.3.994

New version with many features and moved discussion about the project on Github: https://github.com/giuliopons/adadmin/discussions

October 20, 2022

AdAdmin 3.993: added support for crypto payments and more features

Coinbase commerce, user permissions flags and more improvements

September 6, 2022