Tweak Twitter: Automatically create tinyUrl for your blogs posts
Here is an intresting and useful tweak for WORDPRESS blog owners. This tweak allows you to automatically create tiny urls for your blogs post.
Because of the restriction on character numbers in Twitter, you have to use a URL shortener when tweeting URLs. So, to help your readers tweet about your posts, you should definitely provide short URLs for all of your posts.
Here’s how to automate that task:
Open your functions.php file and paste the following code:
Once done, paste this in your single.php file, within the loop:
Source:smashingmagazine.com
1 comments:
Did you know that you can shorten your long urls with AdFocus and make cash from every visit to your short urls.
Post a Comment