How to Share a Social Button to your Website Pages

Please change the URL as your site link.

<!-- Facebook -->
<a href="http://www.facebook.com/sharer.php?u=https://www.deshisoft.com" target="_blank"><img src="https://www.deshisoft.com/images/somacro/facebook.png" alt="Facebook" /></a>

<!-- Twitter -->
<a href="http://twitter.com/share?url=https://www.deshisoft.com&text=Simple Share Buttons" target="_blank"><img src="https://www.deshisoft.com/images/somacro/twitter.png" alt="Twitter" /></a>

<!-- Google+ -->
<a href="https://plus.google.com/share?url=https://www.deshisoft.com" target="_blank"><img src="https://www.deshisoft.com/images/somacro/google.png" alt="Google" /></a>

<!-- Digg -->
<a href="http://www.digg.com/submit?url=https://www.deshisoft.com" target="_blank"><img src="https://www.deshisoft.com/images/somacro/diggit.png" alt="Digg" /></a>

<!-- Reddit -->
<a href="http://reddit.com/submit?url=https://www.deshisoft.com&title=Simple Share Buttons" target="_blank"><img src="https://www.deshisoft.com/images/somacro/reddit.png" alt="Reddit" /></a>

<!-- LinkedIn -->
<a href="http://www.linkedin.com/shareArticle?mini=true&url=https://www.deshisoft.com" target="_blank"><img src="https://www.deshisoft.com/images/somacro/linkedin.png" alt="LinkedIn" /></a>

<!-- Pinterest -->
<a href="javascript:void((function()%7Bvar%20e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','http://assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)%7D)());"><img src="https://www.deshisoft.com/images/somacro/pinterest.png" alt="Pinterest" /></a>

<!-- StumbleUpon-->
<a href="https://www.deshisoft.com/submit?url=https://www.deshisoft.com&title=Simple Share Buttons" target="_blank"><img src="https://www.deshisoft.com/images/somacro/stumbleupon.png" alt="StumbleUpon" /></a>

<!-- Email -->
<a href="mailto:?Subject=Simple Share Buttons&Body=I%20saw%20this%20and%20thought%20of%20you!%20 https://www.deshisoft.com"><img src="https://www.deshisoft.com/images/somacro/email.png" alt="Email" /></a>

If you want to pop-up window after click the share button (You can use it for dynamic site likes wordpress for different page link):

<a class="tv-sharer-facebook facebook" href="#" 
              onclick="
                window.open(
                  'https://www.facebook.com/sharer/sharer.php?u='+encodeURIComponent(location.href), 
                  'facebook-share-dialog', 
                  'width=626,height=436'); 
                return false;">
              Share on Facebook
</a>
<a class="tv-sharer-twitter twitter" href="#" 
              onclick="
                window.open(
                  'http://twitter.com/share?url='+encodeURIComponent(location.href), 
                  'twitter-share-dialog', 
                  'width=626,height=436'); 
                return false;">
              Tweet it
</a>
<a class="tv-sharer-email email" href="#" 
              onclick="
                window.open(
                  'mailto:?subject=check+out+this+video+on+deshisoft.com%21&body='+encodeURIComponent(location.href), 
                  'email-share-dialog', 
                  'width=626,height=436'); 
                return false;">
              Tweet it
</a>

2 Replies to “How to Share a Social Button to your Website Pages”

  1. After that anything thyat makes the process easier
    has actually got to be aan excellent thing, if
    lkke me you’reattempting too find out a brand-new language.
    I’ve taken a look at many of the tools available
    and have found to my cokst that most of the paid
    ones are virtually ineffective. The one I use right now is in everyone domain
    annd works wonderfully well. If you’ve any srt of pqssion in increaasing your understanding
    aftter that why not tame an appearance?

  2. I’m not sure why but this blog is loading very slow for me.
    Is anyone else having this issue or is it a issue on my
    end? I’ll check back later on and see if the problem still exists.

Leave a Reply

Your email address will not be published. Required fields are marked *


*