Skip to content

Instantly share code, notes, and snippets.

@CEscorcio
Created July 14, 2016 10:05
Show Gist options
  • Save CEscorcio/0f5891367c9cd6e325c93af2a0e0e74b to your computer and use it in GitHub Desktop.
Save CEscorcio/0f5891367c9cd6e325c93af2a0e0e74b to your computer and use it in GitHub Desktop.
Share Custom PHP
<a href="http://www.linkedin.com/shareArticle?mini=true&amp;title=<?php the_title(); ?>&amp;url=<?php the_permalink(); ?>" title="Share on LinkedIn">Linkedin</a>
<a href="https://plus.google.com/share?url=<?php the_permalink(); ?>" onclick="javascript:window.open(this.href,
'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;">G+</a>
<a href="http://twitter.com/home/?status=<?php the_title(); ?> - <?php the_permalink(); ?>" title="Tweet this!">TWEET</a>
<a href="http://www.facebook.com/sharer.php?u=<?php the_permalink();?>&amp;t=<?php the_title(); ?>" title="Share on Facebook.">SHARE FACEBOK</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment