How To Make Text Link Ads Match Your Site Perfectly
Text Link Ads are fast becoming the second most used tool by bloggers hoping to cover their hosting costs after Google Adsense. They offer a reasonable amount of controls over what colours and size your ads should be, but it can still be hard to make the ads match your site. Even though the link colours may match, your font sizes or your hover/visited colours won’t. Also, on my site the links had some weird spacing between them.
Here’s a quick fix I found which has worked perfectly on my sites and will make your Text Link Ads match your site even if you change themes or styles.
All you have to do get your Text Link Ads to match your site is the following:
- Open up the plugin in your favourite editor
- search for ‘function outputHtmlAds‘
- Replace whatever you have within this function for ‘foreach($this->ads as $ads) {‘ with the following code
foreach($this->ads as $ads) {
echo “<li style=”font-size: 1em;”>”.$ads->before_text.” <a href=”".$ads->url.”">”.$ads->text.”</a> “.$ads->after_text.”</li>\n”;
Now your ads should blend in better with your site. I hope this tip works for you Let me know if you’ve found this tip useful.
If you’re not using Text Link Ads yet, I really think you should give it a go. The ads are really unobtrusive and they are great at selling links which normally are relevant to your site - on my site they’ve consistently sold at least 9 of my 10 links. If you’re interested Signup here.





Comment by Thilak on 27 January 2007:
Nice Hack, but I believe that this will hurt TLA TOS. Or am I wrong ?
Comment by Everton on 27 January 2007:
Definitely not. TLA gives you controls to adjust font sizes, colours etc - just not enough
Comment by Thilak on 28 January 2007:
So what if I add a nofollow by editing that plugin?
Comment by Everton on 28 January 2007:
I’d imagine that would definitely be in breach of the ToS! Especially since TLA give the PR as one of the variables for advertisers to decide whether or not to advertise
Pingback by Wie man mit einem Blog Geld verdienen kann | Connected Internet on 4 April 2007:
[...] Openads The Dos And Don’ts For Driving Traffic To A New Site Maximising Text Link Ad Revenues How To Make Text Link Ads Match Your Site Perfectly Which Services To Ping How To Use Permalinks The Right Way For SEO var sb_url_to_rate = [...]
Comment by Mamat on 5 April 2008:
Hi, i just have take time to google for hacking how ads will display in my site. Just wondering why the function that you mean not there. In condition when i want to hack the plugins.
thanks.