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:


More such intresting Stuff to come. To get regular updates please subscribe to our FEEDS
Source:smashingmagazine.com

1 comments:

Blogger September 21, 2016 at 12:49 PM  

Did you know that you can shorten your long urls with AdFocus and make cash from every visit to your short urls.

CONNECT WITH TECHNOFROLIC!!
Follow me on Twitter Subscribe Subscribe

  © Technofrolic.blogspot.com 2011

Back to TOP