Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Add Social Share Buttons
<b>Share This:</b>
<a target="_blank" href="<?php the_permalink();?>&t=<?php the_title(); ?>"> <img src="" alt="Facebook" width="64" height="64"></a> |
<a href="<?php echo urlencode(the_title()); ?>&url=<?php echo urlencode(the_permalink()); ?>&via=shemul49rmc&related=<?php echo urlencode("shemul49rmc:Support me"); ?>" title="Share on Twitter" rel="nofollow" target="_blank"><img src="" alt="Twitter" width="64" height="64"></a> |
<a 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;"><img src="" alt="Google Plus" width="64" height="64"></a> |
<a href="<?php the_permalink(); ?>&amp;title=<?php the_title(); ?>" title="Reddit" rel="nofollow" target="_blank">Reddit</a> |
<a href="<?php the_permalink(); ?>&amp;title=<?php the_title(); ?>" title="Stumble it" rel="nofollow" target="_blank">Stumble it</a> |
<a href="<?php the_permalink(); ?>&amp;title=<?php the_title(); ?>" title="Digg this!" rel="nofollow" target="_blank">Digg this!</a> |
<a href=";title=<?php the_title(); ?>&amp;url=<?php the_permalink(); ?>" title="Share on LinkedIn" rel="external nofollow" rel="nofollow" target="_blank">Share on LinkedIn</a> |
<a href="<?php the_permalink(); ?>&media=<?php $url = wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); echo $url; ?>" title="Pinterest" rel="nofollow" target="_blank">Pinterest</a> |
<a 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
You can’t perform that action at this time.