Automatically get tr.im urls for your blog posts
Before, we showed you how to automatically get tinyurl’s on your WordPress blog. Well this time, I found a tutorial that will make your WordPress blog automatically generate tr.im url’s for your blog posts. First to do this, add the following lines to your functions.php file: function getTrimUrl($url) { $tinyurl = file_get_contents(“http://api.tr.im/api/trim_simple?url=”.$url); return $tinyurl; }… Read More »