wp de konunun altına sosyal paylaşım simgesi?
3
●489
- 20-04-2014, 23:55:01Merhaba, eklenti olmadan yapmak istiyorsanızfrkn3d adlı üyeden alıntı: mesajı görüntüle
<a rel="nofollow" href="http://www.facebook.com/share.php?u=<?php the_permalink(); ?>" target="_blank" /><img src="<?php bloginfo('template_url'); ?>/images/facebook.png" alt="facebook" title="Facebook'ta Paylaş!" /></a>
Bu şekilde single.php dosyasında<?php the_content(); ?>
altına manuel ekleyebilirsiniz. Yapmanız gereken tek şey tema içerisinde bulunan images klasörü içerisine facebook.png adında resim atmanız yeterlidir.
Ek olarak aşağıda google plus ve twitter kodları var. Bunları da yukarıda bahsettiğim gibi ekleyebilirsiniz.
<a rel="nofollow" href="http://twitter.com/home?status=<?php wp_title(); ?> <?php the_permalink(); ?>" target="_blank" /><img src="<?php bloginfo('template_url'); ?>/images/twitter.png" alt="Twitter" title="Twitter'da Paylaş!" /></a> <a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&bkmk=<?php the_permalink(); ?>&url=<?php the_permalink(); ?>" target="_blank" /><img src="<?php bloginfo('template_url'); ?>/images/google.png" alt="Google" title="Google'da Paylaş!" /></a> - 21-04-2014, 12:09:24tşkler hocam dediğiniz gibi yaptım olduKarahaNCode adlı üyeden alıntı: mesajı görüntüle
.