Created
March 19, 2012 23:15
-
-
Save rossharper/2128334 to your computer and use it in GitHub Desktop.
Twitter, Facebook, and Google+ share buttons for Wordpress
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
<div class="twitterbutton"> | |
<a href="http://twitter.com/share" | |
class="twitter-share-button" | |
data-url="<?php the_permalink() ?>" | |
data-text="<?php the_title(); ?>" | |
data-count="none" | |
data-via="rossharper"> | |
</a><!--<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>--> | |
</div> | |
<div class="facebookbutton"> | |
<a name="fb_share" | |
type="button" | |
share_url="<?php the_permalink() ?>" | |
href="http://www.facebook.com/sharer.php"> | |
</a><!--<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>--> | |
</div> | |
<div class="googleplusonebutton"> | |
<g:plusone size="medium" count="false" href="<?php the_permalink(); ?>"></g:plusone> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment