Title: WP125
Author: redwallhp
Published: <strong>July 31, 2008</strong>
Last modified: December 23, 2021

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/wp125.svg)

# WP125

 By [redwallhp](https://profiles.wordpress.org/redwallhp/)

[Download](https://downloads.wordpress.org/plugin/wp125.1.5.5.zip)

 * [Details](https://wordpress.org/plugins/wp125/#description)
 * [Reviews](https://wordpress.org/plugins/wp125/#reviews)
 *  [Installation](https://wordpress.org/plugins/wp125/#installation)
 * [Development](https://wordpress.org/plugins/wp125/#developers)

 [Support](https://wordpress.org/support/plugin/wp125/)

## Description

If you’ve given up the low-paying and slightly obtrusive ad networks used by many
new bloggers, in favor of selling ads directly, you may have been frustrated with
the excessive time involved managing your ads. Not only do you have to find advertisers
to sponsor your blog, you have to manually edit your template to put the ad in, 
and then head over to your favorite calendar app to set an alert to remind you when
to take the ad down.

Time consuming practices like those are a thing of the past. The WP125 plugin can
help you manage your ads more efficiently, leaving you with more time to write new
posts. The plugin adds a new “Ads” menu to the WordPress admin, featuring submenus
for tweaking display settings and adding and removing ads.

Features include:

 * One or two column ad display, and support through template tags to implement 
   your own unconventional design.
 * Show as many ads as you want, and in either manual or random order
 * Keep track of how many times an ad is clicked
 * When creating a new ad, you don’t have to calculate the end date yourself. Just
   input how many days you wish the ad to run for, and the correct date will be 
   applied. The ad will be automatically taken down when the time comes.
 * When an ad run is over, the record is archived on the Inactive ads screen, so
   you can check on the final click count, or revive the ad for another run.
 * When an ad slot is empty, a placeholder ad of your choice will be displayed. 
   This could be a “Your Ad Here” image linking to a page with statistics and pricing,
   or an affiliate link.
 * Optionally recieve email notifications when an ad expires. Useful if you send
   follow-up messages to advertisers, or if you just want to stay in the know.

### Upgrading

You may upgrade the plugin via the automated system in WordPress 2.5 or greater,
or “old-style” by downloading the new one and then
 1. Deactivating plugin 2. Uploading
the updated files 3. Reactivating plugin

### Known Issues

 * If you have WP Super Cache installed on your blog, it may conflict with WP125’
   s click tracking feature. To fix this, add “index.php” on a new line in the “
   Rejected URLs” field of the WP Super Cache options page. This will disable caching
   for yourblog.com/index.php. If someone goes to yourblog.com, they will still 
   get the cached version, but since WP125’s click tracker URLs look like “/index.
   php?adclick=1,” they will avoid the cache.

### Support

If you’re having a problem with the plugin, try posting on the official WordPress
forum at https://wordpress.org/support/ (be sure to use the tag “WP125”!). I, or
another user of the plugin, will hopefully be able to answer your questions. Or 
send me an email via the contact form on Webmaster-Source.com.

### Translation Credits

 * Danish Translation: [Georg S. Adamsen](http://wordpress.blogos.dk/)
 * French Translation: Alexandre Cloquet
 * Italian Translation: [Gianni Diurno](http://gidibao.net/index.php/portfolio/)
 * Russian Translation: [M. Comfi](http://www.comfi.com)
 * Simplified Chinese Translation: [Sam Zuo](http://bwskyer.com/)
 * Dutch Translation: Jackey van Melis
 * Brasilian Portuguese Translation: Jos� de Menezes Filho
 * German Translation: Simon Kraft
 * Romanian Translation: [Web Hosting Geeks](http://webhostinggeeks.com/)
 * Slovak Translation: Branco Radenovich, [Web Hosting Geeks](http://webhostinggeeks.com/)
 * Ukrainian Translation: Michael Yunat, [GetVOIP.com](http://getvoip.com/blog)

## Screenshots

 * [[
 * A few 125×125 ads, in two-column format.
 * [[
 * The Add/Edit ads screen.

## Installation

 1. Download and unzip the package.
 2. FTP the entire “wp125” directory to your /wp-content/plugins/ directory on your
    blog.
 3. Activate the plugin on the “Plugins” tab of the administartion panel.
 4. Either use the included “WP125: Ads” widget, or place the `<?php wp125_write_ads();?
    >` template tag where you wish your ads to appear.
 5. Go to the new “Ads” section of the WordPress admin, where you can tweak settings,
    such as the maximum number of ads to be shown at once (the default is 6), and how
    they should be displayed.

## FAQ

### What if I don’t want to arrange my ads in one OR two columns?

If you want to arrange your ads in an unconventional manner, you can use the `<?
php wp125_single_ad(num); ?>`). You can use multiple instances of the tag in your
template to set lay your ad slots out in whatever way you choose.

### One of my ads hit it’s expiration date. Where did it go?

When an ad’s time duration is over, it disappears off your site, and is removed 
from the Active ads page in the WordPress admin. To access the record, just click
the “Inactive” link on the Manage screen. The page should update to show all of 
your inactive ads.

### What if I don’t want an ad to be taken down automatically?

Just select “I’ll remove it manually” for the expiration date when you go to create
the ad.

### How do I style my ads different than the default?

First, uncheck the Default Style box on the Settings page. This will remove the 
default styling. Next, make use of your mad CSS skills to re-style the ads. Here’s
what the default CSS looks like:

`/* Styles for one-column display */

### wp125adwrap_1c .wp125ad { margin-bottom:10px; }

/* Styles for two-column display */

### wp125adwrap_2c .wp125ad { width:125px; float:left; padding:10px; }`

### How do I make the ads open in a new window?

If you absolutely _must_ have your ads open in a new window when clicked, open the
wp125.php file and find the `define(...` line near the top and remove the first `//`
from the beginning.

### Why is the Slot dropdown missing when I try to add a new banner?

Turn off AdBlock. It indiscriminately zaps page elements containing the word “ad,”
which means you’re going to have a bad time managing ads…

### My ads don’t appear in two columns, even though I have the option set! How do I fix this?

The parent DIV that the ad code is inside probably isn’t wide enough. You really
need a _minimum_ of 250px of horizontal space to have two ad columns, more if you
use the default CSS. You could try reducing the CSS padding around the ads from 
10px to something lower.

    ```
    #wp125adwrap_2c .wp125ad { padding:4px; }
    ```

## Reviews

![](https://secure.gravatar.com/avatar/4c76d9f6d43ca0d7f8b1f74e5f9574b3068c222281ed6e56a679049c7e7f37e0?
s=60&d=retro&r=g)

### 󠀁[花了将近一个小时也没有把广告展示出来](https://wordpress.org/support/topic/%e8%8a%b1%e4%ba%86%e5%b0%86%e8%bf%91%e4%b8%80%e4%b8%aa%e5%b0%8f%e6%97%b6%e4%b9%9f%e6%b2%a1%e6%9c%89%e6%8a%8a%e5%b9%bf%e5%91%8a%e5%b1%95%e7%a4%ba%e5%87%ba%e6%9d%a5/)󠁿

 [zengxiaoluan](https://profiles.wordpress.org/zengxiaoluan/) March 5, 2017

花了将近一个小时也没有把广告展示出来，浪费我的时间了，还是因为设计做的不好，我作为
一个用户不会用？

![](https://secure.gravatar.com/avatar/99d0201d536220909536c13add1422f4ff761471c42749bd60fe7ffff26b1443?
s=60&d=retro&r=g)

### 󠀁[mostafa98](https://wordpress.org/support/topic/mostafa98/)󠁿

 [datam](https://profiles.wordpress.org/mostafa98/) February 7, 2017

Thank you for plugins The plug was Translation into Persian Download the file Link
Translation : Please add files to translation plugin Thanks

 [ Read all 17 reviews ](https://wordpress.org/support/plugin/wp125/reviews/)

## Contributors & Developers

“WP125” is open source software. The following people have contributed to this plugin.

Contributors

 *   [ redwallhp ](https://profiles.wordpress.org/redwallhp/)

“WP125” has been translated into 13 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/wp125/contributors)
for their contributions.

[Translate “WP125” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp125)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp125/), check out 
the [SVN repository](https://plugins.svn.wordpress.org/wp125/), or subscribe to 
the [development log](https://plugins.trac.wordpress.org/log/wp125/) by [RSS](https://plugins.trac.wordpress.org/log/wp125/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

 * 1.0.0 – Initial release
 * 1.1.x – Some security and performance fixes, adds several new customization options
   and a few major features.
 * 1.2.x – Added new features: Recieve email notifications in advance of ads expiring,
   alternating CSS classes on ads, and open ads in new windows if you absolutely
   _must._
 * 1.3.x – Localization support (with French and Spanish to start), iCalendar subscription
   of ad expirations, WP Dashboard widget. Fixed errant “ADLINK_EXTRA”s in Single
   ads, fixed “no ads, no placeholders” bug, etc..
 * 1.3.7 – Added Russian translation.
 * 1.3.8 – Added zh_CN translation
 * 1.3.9 – Changed SQL query on 131 of adminmenus.php to fix bug where ads are not
   inserted in some situations. Added Dutch and Brasilian Portuguese translation
   files.
 * 1.4.0 – Now with WordPress 3.0 support!
 * 1.4.1 – Added German translation and fixed a stylesheet enqueue bug for WP 3.3.
 * 1.4.2 – Now with support for multiple widgets!
 * 1.4.3 – Added Romanian translation.
 * 1.4.4 – Fixed a race condition that could cause many duplicate expiration emails
   to be sent on high-traffic sites.
 * 1.4.5 – Added uploader, plus fixed some potential vulnerabilities. (Thanks to
   Charlie Eriksen via Secunia SVCRP.)
 * 1.4.6 – Fix for duplicate ad expiration emails, part II: The Bug Strikes Back.
 * 1.4.7 – Added uninstaller to properly remove WP125’s database tables when removing
   the plugin.
 * 1.4.8 – Translation update.
 * 1.4.9 – Some changes to the default CSS. Added a clearfix to the ads in two-column
   mode (finally!). Also, updated some buttons to match changes in WordPress.
 * 1.5.0 – Fixed a potential CSRF vulnerability. (Minor security fix.)
 * 1.5.1 – Added Czech translation.
 * 1.5.3 – Added Ukrainian translation
 * 1.5.4 – Updated to support WordPress 4.3
 * 1.5.5 – Fixed potential CSRF vulnerability, security hardening, minor bug fixes

## Meta

 *  Version **1.5.5**
 *  Last updated **4 years ago**
 *  Active installations **3,000+**
 *  WordPress version ** 2.8 or higher **
 *  Tested up to **5.8.13**
 *  Languages
 * [Chinese (China)](https://cn.wordpress.org/plugins/wp125/), [Czech](https://cs.wordpress.org/plugins/wp125/),
   [Danish](https://da.wordpress.org/plugins/wp125/), [Dutch](https://nl.wordpress.org/plugins/wp125/),
   [English (US)](https://wordpress.org/plugins/wp125/), [German](https://de.wordpress.org/plugins/wp125/),
   [Italian](https://it.wordpress.org/plugins/wp125/), [Portuguese (Brazil)](https://br.wordpress.org/plugins/wp125/),
   [Romanian](https://ro.wordpress.org/plugins/wp125/), [Russian](https://ru.wordpress.org/plugins/wp125/),
   [Slovak](https://sk.wordpress.org/plugins/wp125/), [Spanish (Chile)](https://cl.wordpress.org/plugins/wp125/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/wp125/), and [Ukrainian](https://uk.wordpress.org/plugins/wp125/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/wp125)
 * Tags
 * [125×125](https://wordpress.org/plugins/tags/125x125/)[ads](https://wordpress.org/plugins/tags/ads/)
   [advertisement](https://wordpress.org/plugins/tags/advertisement/)[management](https://wordpress.org/plugins/tags/management/)
 *  [Advanced View](https://wordpress.org/plugins/wp125/advanced/)

## Ratings

 4 out of 5 stars.

 *  [  9 5-star reviews     ](https://wordpress.org/support/plugin/wp125/reviews/?filter=5)
 *  [  4 4-star reviews     ](https://wordpress.org/support/plugin/wp125/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp125/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp125/reviews/?filter=2)
 *  [  3 1-star reviews     ](https://wordpress.org/support/plugin/wp125/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp125/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp125/reviews/)

## Contributors

 *   [ redwallhp ](https://profiles.wordpress.org/redwallhp/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp125/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.webmaster-source.com/donate/?plugin=wp125)