Hello, I’ve used plugins for this but the best solution I found was to do by hand, it is lighter and simpler to customize.
$GLOBALS['url'] = "url of your template";
<div id="compartilhamento">
<ul>
<li>
<a href="whatsapp://send?text=<?php the_permalink() ?>"><img src="<?php echo $GLOBALS['url']; ?>/images/whatsapp.png"></a>
</li>
<li>
<a href="http://facebook.com/share.php?u=<?php the_permalink() ?>&t=<?php echo urlencode(the_title('','', false)) ?>" target="_blank" title="Compartilhar <?php the_title();?> no Facebook"><img src="<?php echo $GLOBALS['url']; ?>/images/facebook.png"></a>
</li>
<li>
<a href="http://twitter.com/intent/tweet?text=<?php the_title();?>&url=<?php the_permalink();?>&via=seutwitter" title="Twittar sobre <?php the_title();?>" target="_blank"><img src="<?php echo $GLOBALS['url']; ?>/images/twitter.png"></a>
</li>
<li>
<a href="https://plus.google.com/share?url=<?php the_permalink();?>" target="_blank"><img src="<?php echo $GLOBALS['url']; ?>/images/google-plus.png"></a>
</li>
<li>
<a href="https://www.linkedin.com/shareArticle?mini=true&url=<?php the_permalink();?>&title=<?php the_title();?>" target="_blank"><img src="<?php echo $GLOBALS['url']; ?>/images/linkedin.png"></a>
</li>
<!-- <li>
<a href="#"><img src="<?php //echo $GLOBALS['url']; ?>/images/pinterest.png"></a>
</li> -->
<li>
<a target="_blank" class="email" title="Compartilhe por Email" href="mailto:?Subject=<?php the_title();?>&Body=http%3A%2F%2Fwptotal.com.br%2Fcomo-adicionar-botao-de-compartilhamento-no-seu-blog%2F"></a>
<a href="mailto:?Subject=<?php the_title();?>&Body=<?php the_permalink();?>" target="_blank"><img src="<?php echo $GLOBALS['url']; ?>/images/mail.png"></a>
</li>
<li>
<a href="javascript:window.print()"><img src="<?php echo $GLOBALS['url']; ?>/images/print.png"></a>
</li>
</ul>
</div>
I hope I’ve helped!
Your question is solved with plugins, but you say it does not work. Can you give more details? Plugins work am with another theme?
– Agnelio Lhavanguane
Hello, What plugins have you tested? Tried Addthis? Cumps,
– António Freitas