Articles Facebook General Category

How to share each posts facebook and twitter in wordpress

Hi friends,

This post explains how to share each posts to social sharing sites like twitter and facebook , with a simple scripts.

To share post with facebook :

<a name=”fb_share” type=”button_count” href=””>Share</a>
<script src=”” type=”text/javascript”>

Share with Twitter:

<a href=”<?php the_title(); echo “:”; the_permalink(); ?>” title=”Click to send this page to Twitter!” target=”_blank”>Share on Twitter</a>

Write above scripts at single.php ,  This is at

/public_html/wp-content/themes/<your theme folder>

Now we can share it, and increase your traffic …

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.