Really simple ads #6 in Utilities
A simple way to manage, track and show ads
by Digitoimisto Dude Oy, Timi Wahalahti · github.com/digitoimistodude/dude-really-simple-ads
★ 11stars
67composer installs
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/digitoimistodude/dude-really-simple-ads/archive/refs/heads/master.zipAlso on Packagist as digitoimistodude/dude-really-simple-ads:
composer require digitoimistodude/dude-really-simple-adsFrom the readme
Note
This ad plugin is considered legacy. You should really consider using air-ads.
Really simple ads
Digitoimisto Dude Oy is a Finnish boutique digital agency in the center of Jyväskylä.
Table of contents
- Features
- Usage
- Register ad places
- Get active ad
- Adding a shortcode to embed ads into content
- Hooks
- Set default ad and link
- Disable UTM tags in ad target url
- Disable or change ad view throttle time
- Changelog
- Contributing
- TODO
Please note before using
By using this code bases, you agree that the anything can change to a different direction without a warning.
Features
Basic feature list includes
- Multiple ad places
- Campaigns containing multiple ads
- Sheculed ads with start and end time
- Sheculed campaigns with start and end time
- Simple view and click counter per ad (JavaScript)
- Ad view throttle prevention, so F5 will not bump up the display count (JavaScript)
- Private notes for ads and campaigns
Usage
Register ad places
Ad places are registered with drsaadplacementsizes hook. You should pass nested array containing one array element per each ad place. See basic exmaple below.
Get active ad
Getting the active ad i
Read the full README on GitHub →