Skip to content

Instantly share code, notes, and snippets.

@DrMabuse23
Created November 21, 2013 15:55
Show Gist options
  • Save DrMabuse23/7584188 to your computer and use it in GitHub Desktop.
Save DrMabuse23/7584188 to your computer and use it in GitHub Desktop.
<div class="tweet">
<script type="text/javascript">
tweetmeme_url = '<?php the_permalink() ?>';
tweetmeme_source = '<?php bloginfo('url') ?>/author/<?php the_author_link() ?>';
</script>
<!--[if IE]>
<script type="text/javascript">
onload = function()
{
var theframes = document.getElementsByTagName('iframe');
for(var i = 0; i < theframes.length; i++)
{
theframes[i].setAttribute("allowTransparency","true");
}
}
</script>
<![endif]-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment