Social Media Sharing Icons for WordPress Users, Ready Made Code

THESE SHARING ICONS ARE NO LONGER BEING USED. HOWEVER, SOME OF THE CODE MAY STILL WORK. IT’S UP TO YOU TO TAKE IT FROM HERE.

As you can see above, Web Line News has remodeled its social media sharing icons using raw code. The advantage of using code is that the icons can go exactly where desired. The icons themselves are also custom. This code should work on any WordPress site. Just paste it in where it goes. On Web Line News, it was pasted in the theme file template-parts/content-single.php. Here is the code. Change the bold section to your Twitter name, or just delete it.


<br>
<a target=”_blank” href=”http://twitter.com/home/?status=<?php the_title(); ?> <?php the_permalink(); ?> @WebLineNews” title=”Tweet this news”>
<img src=”https://weblinenews.com/downloads/shareicons/twitter.png” alt=”Tweet this news” /></a>

<a target=”_blank” href=”http://www.facebook.com/sharer.php?u=<?php the_permalink();?>&amp;t=<?php the_title(); ?>” title=”Share on Facebook”>
<img src=”https://weblinenews.com/downloads/shareicons/facebook.png” alt=”Share on Facebook” /></a>

<a target=”_blank” href=”http://voat.co/submit?linkpost=true&url=<?php the_permalink(); ?>&title=<?php the_title(); ?>” title=”Share with goats on Voat”>
<img src=”https://weblinenews.com/downloads/shareicons/voat.png” alt=”Share on Voat” /></a>

<a target=”_blank” href=”http://www.reddit.com/submit?url=<?php the_permalink(); ?>&amp;title=<?php the_title(); ?>” title=”Post it to Reddit”>
<img src=”https://weblinenews.com/downloads/shareicons/reddit.png” alt=”Post it to Reddit” /></a>

<a target=”_blank” href=”http://pinterest.com/pin/create/button/?url=<?php the_permalink(); ?>&media=<?php $url = wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); echo $url; ?>”>
<img src=”https://weblinenews.com/downloads/shareicons/pinterest.png” title=”Pinterest post” alt=”Pinterest” /></a>

<a target=”_blank” 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;”>
<img src=”https://weblinenews.com/downloads/shareicons/google.png” title=”Add to Google Plus” alt=”Google Plus” /></a>

<a target=”_blank” href=”http://www.tumblr.com/share/link?url=<?php the_permalink(); ?>&name=<?php the_title(); ?>”>
<img src=”https://weblinenews.com/downloads/shareicons/tumblr.png” title=”Share on Tumblr” alt=”Tumblr” /></a>

<a target=”_blank” href=”http://www.stumbleupon.com/submit?url=<?php the_permalink(); ?>&amp;title=<?php the_title(); ?>” title=”Stumble Upon”>
<img src=”https://weblinenews.com/downloads/shareicons/stumbleupon.png” alt=”Stumble Upon” /></a>


Copy and paste the code above on your WordPress site. Make changes to suit yourself.