Skip to main content

WordPress Tip: Sociable +

Here’s a quick but useful way to tune your sociable twitter links. Firstly, you should go support sociable and get the premium version which has integration. Very cool stuff and totally worth it.

Next, in your WordPress theme functions.php, add the following but with your own twitter handle to ensure that people tweeting the post are referencing your twitter account.

function filter_sociable_known_sites( $sites ) {
	$sites['Twitter']['url'] = ''.
	urlencode('TITLE - SHORT_LINK via @shaneandpeter');
	return $sites;