I am not sure how this is enabled. It may be because of some plugin that I have installed or it may be a feature built into WordPress itself. But whatever this makes life so much easier.
I was creating custom fields for shortened URL to each post (ie: bitlyurl = bit.ly/1234 tinyurl = tinyurl.com/1234 etc.etc.)
How labor intensive to add each one into the custom WP field of each post. I first had to go the the shortener site and create the URL then copy paste it and update the post. Pain in the neck. but I wanted to display the short URL so…
Then I was playing with the code and discovered that when I used this snippet
view the txt here
But It must be linked to one of the like idk 85 plugins I have installed and also I tweaked them all so they are not original anymore.
I was also thinking that it could be linked to the Ping or Trackback features in WP.
Who know what happened but the URLs pour in from all of the shortening services automatically after they are created by anyone. Love it!!!!
BUT and there is almost always a but with new code snippets. It does not seem to work consistently.
It works here http://www.juanitachronowski.com/jdcblog/?p=1835
but not here (on this page) http://www.juanitachronowski.com/jdcblog/?p=2056 at least not at the time of posting this.
I am not sure what the factor is that turns it on..
If anyone knows what could cause this let me know. Otherwise I chalk it up to a happy happenstance where it works and not worry too much about it when it doesn’t.
If you try it on your site and it works let me know (comment here I dofollow back) also
StumbleUpon
I Have Reddit





![The Girl with the Dragon Tattoo [Unabridged 13-CD Set] (AUDIO CD/AUDIO BOOK)](http://ecx.images-amazon.com/images/I/41KMRFnEQSL._SL160_.jpg)



Returning later in the day after publishing this post and tweeting it with a tinyurl the shortcuts all popped up. Although I did not create the is.gd or the bit.ly links they are there?? Thinking now that it is after all a Pinging thing going on. So install this code and in a few hours your short URLs should appear if you have auto ping and trackback setup… ?
@daveraftis can you check this link for me? http://tinyurl.com/yk75w2p
calling all #wordpress #gurus http://tinyurl.com/yk75w2p here is a puzzle for you… if you are the best help out
I inadvertently used the variable shorturls in my script which I have discovered is an appendage of tweetbacks (the plugin) http://wordpress.org/support/topic/327679 by http://twitter.com/yoast . So I guess I discovered an extra bonus for the Yoast plugin. So install tweetbacks then get the side effect of my little script. After you can extract just the shortened URLs that link to your posts.