<a href="https://vk.com/share.php?url=<?php echo end($breadcrumbs)['href']; ?>"
target="_blank" onclick="socialOpen(this.href,this.target,640,480);"
rel="noindex, nofollow" title="Вконтакте">VK</a> /
<a href="https://www.facebook.com/sharer.php?u=<?php echo end($breadcrumbs)['href']; ?>"
target="_blank" onclick="socialOpen(this.href,this.target,640,480);"
rel="noindex, nofollow" title="Facebook">FB</a> /
<a href="https://connect.ok.ru/offer?url=<?php echo end($breadcrumbs)['href']; ?>"
target="_blank" onclick="socialOpen(this.href,this.target,640,480);"
rel="noindex, nofollow" title="Одноклассники">OK</a> /
<a href="https://twitter.com/share?url=<?php echo end($breadcrumbs)['href']; ?>&text=<?php echo $heading_title; ?>&hashtags=ТЕГИ ТОВАРА"
target="_blank" onclick="socialOpen(this.href,this.target,640,480);"
rel="noindex, nofollow" title="Twitter">TW</a>
<script>
function socialOpen(url, title, w, h) {
var left = (screen.width/2)-(w/2), top = (screen.height/2)-(h/2);
return window.open(url, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=1, resizable=no, copyhistory=no, width='+w+', height='+h+', top='+top+', left='+left);
}
</script>
Можно еще так..