WP125 alternative: 125×125 banner in the WordPress sidebar with dofollow link

nofollow in WP125

A blogger colleague recently gave me the WordPress plugin WP125 recommended, with which he manages the square 125×125 pixel banners in his sidebar. I installed the plugin and set up two banners, but it has one major disadvantage for me: the links it generates are always marked with rel=”nofollow”. That might not be a problem for the typical advertiser, but if I exchange links with other bloggers, then of course that's not what I want.

Solution 1: manual intervention in the plugin programming

The problem can be solved if you use a text editor to remove all occurrences of rel=”nofollow” in the plugin file wp125.php (found in the plugins folder), but I really hate doing such manual adjustments to plugins because these will be overwritten with the next update of the plugin. And then everything would be set to nofollow again.

nofollow in WP125
The addition rel=”nofollow” occurs several times in the WP125 plugin and makes the outgoing links for Google optimization ineffective.

Solution 2: Direct installation in the sidebar without a plugin

As a way out, I thought about installing the banner directly with a text widget in the sidebar. The text widget allows text or normal HTML as content and is therefore well suited for our purposes. I don't need any special features, such as the placement at certain times, banner rotation or the expiry of the advertising banners after a certain number of clicks or days. Accordingly, I can make it easy for myself and simply program the banners into a widget. All you have to do is load the banners themselves in the 125 × 125 px format into the media library, copy the URL and then put the following code in the sidebar:

This code can then simply be duplicated and inserted banner by banner. The banners should automatically split into two columns next to each other. If not, please write briefly about the comments, then I will help to adapt the code for your blog.

My tips & tricks about technology & Apple

Did you like the article and did the instructions on the blog help you? Then I would be happy if you the blog via a Steady Membership would support.

Post a comment

Your e-mail address will not be published. Required fields are marked with * marked

In the Sir Apfelot Blog you will find advice, instructions and reviews on Apple products such as the iPhone, iPad, Apple Watch, AirPods, iMac, Mac Pro, Mac Mini and Mac Studio.