Hello skane,
Sorry for the late reply. The file you are looking for is named bookmarks.php and is located under the \lib\functions folder. This are the 2 functions you are looking for (they can be found around lines 4 - 30):
function webtreats_save_tweet_link($id) {
$url = sprintf('%s?p=%s', get_bloginfo('url').'/', $id);
add_post_meta($id, 'tweet_trim_url_2', $url);
return $url;
}
function webtreats_the_tweet_link() {
if (!$url = get_post_meta(get_the_ID(), 'tweet_trim_url_2', true)) {
$url = webtreats_save_tweet_link(get_the_ID());
}
if ($old_url = get_post_meta(get_the_ID(), 'tweet_trim_url', true)) {
delete_post_meta(get_the_ID(), 'tweet_trim_url');
}
$output_url = sprintf(
'http://twitter.com/home?status=%s%s%s',
urlencode(get_the_title()),
urlencode(' - '),
$url
);
$output_url = str_replace('+','%20',$output_url);
return $output_url;
}
Best Regards,
Dorian