Text-Link-Ads Updated
Posted by | Filed under Web Design, WordPress
Text-Link-Ads is a nice service which I use to help pay the bills for running this site. They just released a new version of their WordPress plugin which I use to put their adverts on this site, so I installed it but in doing so it overwrote a couple of changes I’d made to the old plugin. I had made those changes as I like the service and I definitely like the additional income1, but I don’t like how the plugin makes the ad links less than obviously ads. So my changes in the plugin add a specific class which I can then style via CSS. Since I don’t want to have to keep redoing my customizations from scratch each time they release the plugin; I’m posting the code changes I make here.
Under function outputHtmlAds(), I changed the following line of code from:
echo "\n<ul>\n";</ul>
to:
echo "\n<ul class=\"tla_sponsor_link\">\n";</ul>
Also under function returnPostAd($postId), I changed:
return "\n\n<em>".$prefixes[$prefixIndex].":</em> $ad->before_text <a href=\"$ad->url\">$ad->text</a> $ad->after_text";
to:
return "\n\n<div class=\"tla_sponsor_link\"><em>".$prefixes[$prefixIndex].":</em> $ad->before_text <a href=\"$ad->url\">$ad->text</a> $ad->after_text</div>";
Side note: TLA, you guys should change the Our Blog to be called something else as the link doesn’t actually take users to your blog.
1 I don’t make enough from these ads to get rich mind you. Just enough to cover the costs of running CoffeeBear.net and maybe a cup of good coffee from my local coffee shop.
Similar Posts
- Adverts by Text Link Ads
Frequent visitors to this site1 will probably notice something a bit new over in my sidebar. Today I ... - Another reason why Firefox rules
I was off reading Adam Gessaman's site and noticed that Firefox had tossed an icon that I'd never no ... - Dynamic Text Replacement Plugin
Dynamic Text Replacement Plugin Just posting this link here because I think I might want to use this ... - Author Pages with hCard & jQuery
While I'm definitely not the designer that any of the people who created these beautiful hCards, I w ... - Dashboard Akismet Hack 0.0.3
Akismet is a popular comment, trackback, pingback spam blocker. Originally it was developed for the ...
















Recent Comments