BACK TO DIRECTORY

Ads Benedict

by Gary Kovar

0.0
(0 ratings)

I run ads for long periods of time so I don’t care about accurate display statistics or anything of that nature.
I needed to show banner ads on my site, but double click for publishers was messing up my template and other plugins were too heavy for what I needed.
So, I made a super-basic banner plugin and named it after my favorite breakfast.

Create a banner, paste the link it should point to, name the zone you want it in, and make a note of the advertiser.
Then put the shortcode into your template or directly in a post.

If you put multiple banners into one zone then 1 will randomly be selected when the page loads.

Screenshots

If you choose to use an install of YOURLS as a means of keeping track of clicks, this the setup page.

If you choose to use an install of YOURLS as a means of keeping track of clicks, this the setup page.

Ah...where the magic happens. This is a view of the live ads.  Editing/Adding is just like editing/adding a post in WordPress. Lovely.

Ah...where the magic happens. This is a view of the live ads. Editing/Adding is just like editing/adding a post in WordPress. Lovely.

And...a shortcode.  If you were using ads within a post you'd do it this way.  Change the zone to whatever zone your ads are in.  Were you to want to use this inside a theme something like:  would be a better choice.

And...a shortcode. If you were using ads within a post you'd do it this way. Change the zone to whatever zone your ads are in. Were you to want to use this inside a theme something like: would be a better choice.

Plugin Details

Active Installs
10
Total Downloads
2,287
Version
0.3.0
Requires WP
4.0
Requires PHP
Tested Up To
4.5.33
Added
2016-03-07
Last Updated
2016-06-03 12:19pm GMT

Ratings

5
0
4
0
3
0
2
0
1
0