Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save shemul49rmc/7279144 to your computer and use it in GitHub Desktop.
Save shemul49rmc/7279144 to your computer and use it in GitHub Desktop.
Fast Loading Colorful Social Share Buttons Without Javascript or Plugins
<div class="social">
<p>Share This Post on:</p>
<a class="facebook" href="<?php the_permalink();?>&t=<?php the_title(); ?>">Facebook</a>
<a class="twitter" href="<?php the_title();?> - <?php echo wp_get_shortlink();?> via @Shemul49rmc "title="Tweet this!" rel="nofollow" target="_blank">Twitter</a>
<!--Google Plus-->
<a class="google-plus" target="_blank" href="<?php the_permalink(); ?>" onclick="'<?php the_permalink(); ?>','gplusshare','width=600,height=400,left='+(screen.availWidth/2-225)+',top='+(screen.availHeight/2-150)+'');return false;">Google+</a>
<a class="reddit" href="<?php the_permalink(); ?>&amp;title=<?php the_title(); ?>" title="Reddit" rel="nofollow" target="_blank">Reddit</a>
<a class="stumbleupon" href="<?php the_permalink(); ?>&amp;title=<?php the_title(); ?>" title="Stumble it" rel="nofollow" target="_blank">Stumble it</a>
<a class="digg" href="<?php the_permalink(); ?>&amp;title=<?php the_title(); ?>" title="Digg this!" rel="nofollow" target="_blank">Digg this!</a>
<a class="linkedin" href=";title=<?php the_title(); ?>&amp;url=<?php the_permalink(); ?>" title="Share on LinkedIn" rel="external nofollow" rel="nofollow" target="_blank">LinkedIn</a>
<a class="delicious" href="<?php the_permalink(); ?>&amp;title=<?php the_title(); ?>" title="Bookmark on" rel="nofollow" target="_blank"></a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment