Shortcode tweet share
// =============================================================================
// Shortcode tweet share
// =============================================================================
function caption_shortcode($atts, $content = null) {
extract(shortcode_atts(array(
"href" => 'http://'
), $atts));
return '<a href="'.$href.'">'.$content.'</a>';
}
add_shortcode("tweeter", "caption_shortcode");
[tweeter href="http://www.wprecipes.com"]Tweet[/tweeter]