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:

  1. Open up the plugin in your favourite editor
  2. search for ‘function outputHtmlAds
  3. 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.


    Read Related Posts




    Latest Posts

    Filed Under: Tools & Tips

    Tags:

    About the Author: Everton is based in London and has worked in the internet and mobile space for over ten years now, and before that worked in corporate strategy and consulting. He has a degree in Economics from Cambridge University.He also writes for Windows 7 News, Windows 8 News and One Tip A Day.

    • This is a pretty good tip. I have recently applied to Text link, and still waiting for them to sell any ad.
    • 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.
    • 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
    • So what if I add a nofollow by editing that plugin?
    • Definitely not. TLA gives you controls to adjust font sizes, colours etc - just not enough
    • Nice Hack, but I believe that this will hurt TLA TOS. Or am I wrong ?
    blog comments powered by Disqus