Hocam anlatabilirseniz sevinirim
Cebimden gönderildi
Ben de merak ediyorum hocam.
4 sosyal medya için vereceğim, twitter, facebook, pinterest ve google+ için
Facebook
<a title="Facebook'ta Paylaş"
href="http://www.facebook.com/share.php?u=
<?php the_permalink('') ?>
">Facebook'ta Paylaş</a>Twitter
<a title="Twitter'da Paylaş"
href="http://twitter.com/home/?status=
<?php the_title(''); ?>+<?php the_permalink('') ?>">
Twitter'da Paylaş</a>Pinterest
<a title="Pinterest'te Paylaş"
href="http://pinterest.com/pinthis?
url=<?php the_permalink('') ?>">
Pinterest'te Paylaş</a>Google +
<a title="Google+'da Paylaş"
href="https://plus.google.com/share?url=
<?php the_permalink('') ?>">
Google+'da Paylaş</a>bunlar normal yazı şeklinde, ancak siz bunları buton haline çevrebilirsiniz,
örnek; facebook için
<a title="Facebook'ta Paylaş"
href="http://www.facebook.com/share.php?u=
<?php the_permalink('') ?>
"><img src="http://www.lensal.com/images/facebook_share.png"></a>
,
bu kodları yazı altına ekleyebilirsiniz, onuda single.php içerisinde ki
<?php the_content(); ?>
kodundan sonraki alana ekleyebilirsiniz