/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function tweetmeme(){ return '<div class="tweetmeme"><script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script></div>'; } add_shortcode('tweet', 'tweetmeme');
URL: http://www.wprecipes.com/wordpress-tip-create-a-tweetmeme-retweeet-shortcode
Comments
