Shortened Post URLs for twitter or any other social network that may need a short url. Default short URL is
http://siteurl.com/p/175 ( where 175 is the post id ) but can easily be changed to whatever you'd like ( maybe
http://siteurl.com/175 ).
Example template modifications would be "<a class="share-via-twitter" href="
http://twitter.com/home?status=Reading: <?php the_title(); ?> <?php echo get_option('home'); ?>/s/<?php the_ID(); ?>" title="Tweet this post">Tweet This"
Inspiration from
5thirtyone.com (
http://5thirtyone.com/archives/2075 )
Installation Instructions:
- Download the plugin and unzip it (didn't you already do this?).
- Put the 'short-post-urls' directory into your wp-content/plugins/ directory.
- Go to the Plugins page in your WordPress Administration area and click 'Activate' next to Short Post URLs.
- That's it. Have fun and if you can contribute (see notes).