Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
WordPress Share Buttons
<a class="share-on-link share-on-twitter" href="https://twitter.com/intent/tweet?text=<?php echo urlencode(the_title_attribute('echo=0')); ?>&url=<?php the_permalink();?>">Twitter</a>
<a class="share-on-link share-on-facebook" href="https://www.facebook.com/sharer/sharer.php?u=<?php the_permalink();?>">Facebook</a>
<a class="share-on-link share-on-googleplus" href="https://plus.google.com/share?url=<?php the_permalink();?>">Google+</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment