Here are the steps for creating a simple Plugin for a Random Ad Widget . This is also a good startup script for those (like me) wanting to learn how to create Plugins and Widgets for WordPress.
The idea here is to create an Ad delivery widget that will show a random ad on every visited page. Firstly I will show you the whole code, for those who know what they are doing and just want to diss my code and style. Then it will be broken into pieces with detailed explanation for those interested. If you want to skip it all just download the source code here.
For the sake of this exercise I will call the file random_ads.php but feel free to call it whatever you like. Here we go… Read more »




