How to Create a Tweetmeme “Retweeet” Shortcode

/ Published in: PHP
Save to your folder(s)

Copy this code and paste it in your HTML
  1. Just paste the function below into your functions.php file.
  3. function tweetmeme(){
  4. return '<div class="tweetmeme"><script type="text/javascript" src=""></script></div>';
  5. }
  6. add_shortcode('tweet', 'tweetmeme');


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.