Created
August 12, 2010 15:38
-
-
Save madrobby/521165 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Inside the loop, for each post --> | |
<a href="http://twitter.com/share?url=<?php print(urlencode(get_permalink())) ?>&text=<?php print(urlencode(get_the_title())) ?>" class="twitter-share-button" data-count="horizontal" data-via="thomasfuchs">Tweet</a> | |
<!-- in your footer --> | |
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment