Page no: P96
Table of contents
Implementation and plugin transformation
|
|
InstallationThe installation of the plugin is very simple process. We don’t have to add any css code or to make any complicated installation. We have one basic function – am_get_ad(). You need to specify the position of the ad. We have three different position which can be located everywhere. The code for position will look like am_get_ad(1). The same for position 2 and 3. The code need to be added into php open and close tags. |
|
The whole code for banner position one is:
The whole code for banner position two is:
The whole code for banner position three is:
|
|
Test casesTest Case No1: New one global advert with banner type one |
|
Test Case No2: Add 5 global (default) adverts with banner type one The adverts must show randomly on pages that do not have a specific advert. |
|
Test Case No3: Add one category advert for banner type one | |
Test Case No4: Add 5 on category adverts for banner type one | |
Test Case No5: Add one global (default) and one on home page with banner type two | |
Test Case No6: Add one global and one on page on position three
We can define pages or posts via their slug. We need to change global or home with the slug (url) of the post or page. |
|
Tags: adsmanager, plugins
See more for