If you want to run affiliate banners on your WordPress website here’s a short tutorial on running random advertising banners in WordPress using the plugin RandomFile. This plugin retrieves the name of a randomly chosen file in a given directory.
Do you like this article? Submit it to Blogosphere News!
One Response
RaynerApe
April 19th, 2005 at 10:42 am
1I wouldn’t suggest that solution myself because including only an image in your page is only part of the whole advertisement. Instead, there’s a small php script called “adrotate” which includes one random line from a text file. Each line can include HTML code so you can have not only banner advertisement with links and images, but also content blocks such as CSS-based text advertisement so AdMuncher/AdBlock doesn’t remove it (I sometimes include a textblock with “why should you click on advertisement to keep me blogging” or a textblock with other important information. You can also use Flash advertisement this way.