WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Twitter Tools] wp.me working under Twitter Tools

[Plugin: Twitter Tools] wp.me working under Twitter Tools

  • I’m sure missing something obvious here – but has anyone got Twitter Tools to work with the wp.me url generated from the Stats plugin?

    I’ve got this far in functions.php

    add_filter('tweet_blog_post_url','makewpme');
    
    	function makewpme($url) {
    	$wpmeurl = get_shortlink($post_id);
    	return $wpmeurl;
    	}

    However, this keeps returning my home url, not the post url.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Twitter Tools] wp.me working under Twitter Tools’ is closed to new replies.
Skip to toolbar