Home / posts / Share on Twitter
  • How to Share on Twitter

    share-on-twitter

    Adding this PHP code to the loop of your wordpress theme will allow users to share your post on twitter.

    ( click code to copy )

    wordpress snippet : PHP

    <>
    <a href="http://twitter.com/home?status=Reading: <?php the_title(); ?>" rel="nofollow" title="retweet on twitter">Share on Twitter</a>
    

    ( WordPress codex functions, hooks, in this snippet. )

    home, the_title,