top of page

MEHUL'S SPACE

  • Writer's pictureMehul Ved

How to use short url with sharethis

Using sharethis but disappointed that it doesn’t have shortlink support?

If you are someone who is comfortable placing some code in the correct place inside your theme then following will work for you.

In comes url-shortener plugin to the rescue.

First install and activate sharethis and url shortener plugins. Select your favourite url shortening service in the url shortener plugin.

Then place the code in your theme at the appropriate place e.g.

 <span class=’st_facebook’ st_url='<?php echo wp_get_shortlink();?>’></span>

If you have wordpress <3.0, you should be upgrading, but for some reason you can’t, there is a slight difference in the code

<span class=’st_facebook’ st_url='<?php fts_show_shorturl($post); ?>’></span>

#shortlinks #urlshortener #shorturl #shortener #shortlink #sharethis #shorturls

0 views0 comments

Recent Posts

See All

Unfortunately, there’s no guide available for installing mediawiki on dotcloud and googling for it doesn’t turn up anything much useful. But, I had to move out LUG wiki to dotcloud. I proceeded with i

Do you find performance of your WordPress blog to be lousy? And have no clue on where to start with it? There are lots of articles on the Internet which will tell you what to do. So, instead of repeat

bottom of page