Get the WordPress plugin
- Download the plugin from wordpress.org (or install it directly from your WordPress admin area by searching the Plugins directory for “tweetpaste”)
- Install and activate it
- Use the shortcode
[tweet url=%url%], replacing%url%with the address of the tweet you want to embed.
If you’re not sure how to get that address, just find the tweet on twitter.com, click the timestamp underneath the body of the tweet, and copy the URL that’s in your address bar. If you want to save space, you can even use [tweet id=%id%], replacing %id% with the string of numbers at the end of the tweet URL.
You can customise the width of the tweet box from the Settings > Embeded tweets menu item, and specify any of the options in the TweetPaste API in your [tweet] shortcode.
And don’t worry about maxing out your server with lots of expensive calls to TweetPaste. The plugin caches the results of the API call, which means you get the best of both worlds: if we make changes to the way tweets are displayed, you’ll see them instantly because it’s using JavaScript, and because that call is made by the user’s browser, your server only makes a call to TweetPaste the first time you embed a tweet, or change the formatting options.
But as always, the system is totally accessible. Users who don’t have JavaScript get pretty much exactly the same experience as those with.