Currently Enjoying:

Discussion in 'WordPress' started by greatkingdominvest, Sep 8, 2009.

  1. #1
    Hello and thanks for tuning in to this topic.

    I would love to share a piece of code I use on my Wordpress blog that helps my visitors to twitter a link to my articles.

    With a piece of PHP code you will be able to insert a link into every post on your wordpress blog and your visitors can easy twitter it to their followers.

    Instructions:

    Log in to your admin CP and go to the theme editor section. Choose Single Post (single.php) and edit it.

    Insert following code where you want it.
    I usually place it in the bottom of the post.


    <a href="http://twitter.com/home?status=Currently enjoying <?php the_permalink(); ?>" title="Click to send this page to Twitter!" target="_blank">Twitter this</a> 
    Code (markup):
    When you are done inserting this piece of code, update the file single.php and you are set to go.
     
    greatkingdominvest, Sep 8, 2009 IP
  2. fisherking

    fisherking Peon

    Messages:
    104
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Or, you could install the tweetmeme plugin! With tweetmeme, tweets and retweets can be tracked, as well as publicly displayed on tweetmeme's website for better coverage!

    http://tweetmeme.com/
     
    fisherking, Sep 8, 2009 IP