pky_adverts (in development)
-
Im in the process of writing a very simple advert system plugin for wordpress.
You will be able to add new adverts via the backend, then display them anywhere within you templates/posts with simple calls such as
<?php pky_advert(‘468×60’);?> or <!–pky_advert(‘150×150’)–>
As you can see i have made it so that you pass the size of which advert you want to display, this allows you to use the same simple function to display differnt size ads thru out the whole site.
It will also track v.basic ad stats such as impressions and click throughs so you can see how well each ad is doing.
I’ve yet to write the backend side of things yet, as ive got to mucht o do on the site i wrote this plugin for (https://phunky.co.uk/reason/) but your more then welcome to look at what ive got so far…
https://pastecode.net/?action=viewpost&tag=433
Fingers crossed ill get a full release of this out, unlike my wp-forum which ive just not touched in months!
- The topic ‘pky_adverts (in development)’ is closed to new replies.