If I told you about integrating Twitter into your WordPress blog, you’d probably think I am going to talk about adding a Twitter feed as a widget that would appear on the sidebar of your website. Do you know that it is now possible to add an actual tweet into your blog post? It is very easy to embed a tweet in WordPress now. We covered tips to gain twitter followers fast previously. This post is for those that want their visitors to easily tweet their articles to gain more exposure at twitter.
In the past, if you wanted to add a tweet into your blog post, you’d have to take a printscreen of the tweet, cut out the unwanted parts, and then save it as an image. You then upload this image and insert it into your blog post. Now, there’s an easier way to embed Twitter tweets right into your blog post if you’re using WordPress version 3.4 and onwards.
What’s even better is that by embedding a tweet into your WordPress post, you and your site visitors can actually reply, favorite, and retweet that tweet right from your WordPress post. If there are links included in the tweet, those links work too. Pretty cool, huh?
Embedding a Tweet in your Post
You will need to copy the URL of the tweet you want to embed into your WordPress post – make sure you’re copying the URL and not the link to the Twitter profile of the person who tweeted it. You can get the URL of the tweet by clicking on its time stamp. When you click on it, you will be directed to a page for that particular tweet, and you’ll need to copy the URL that is displayed on the address bar.
Go back to your WordPress blog post, you’ll need to paste the URL you copied into a separate line, in plain text and not hyperlinked.
That’s it! Preview your post and the tweet you copied should look like the one in the image below.
Embedding a Tweet Using Shortcodes
You can also make use of shortcodes to embed a tweet into your WordPress post. Here are a few shortcodes you can try:
- In order to display a tweet, you should use the shortcode ‘tweet’, followed by the URL of the said tweet.An example would be
- In order to display a tweet in a certain width, you can use the shortcode ‘tweet’ followed by the URL of the tweet and the width you want it to be displayed in. An example would be
where x will be replaced by the width you want the tweet to be displayed.
- In order to align a tweet, you can use the shortcode ‘tweet’ followed by the URL of the tweet, and then the alignment you want. An example would be
- where x will be replaced by either left, right, or center.
If you’re using a WordPress version older than version 3.4, you can make use of the plugin called Twitter Embed so that you can embed tweets into your WordPress post and they would look like the one in the image above. You can also have a look at best twitter plugin for WordPress.
I think it’s awesome that WordPress does the embed as easily as it does YouTube embeds now, but I typically don’t embed many tweets so haven’t really leveraged this feature much.
Justin Germino recently posted..Pinterest Optimization for Better Sales and More Customers