Magic Moment: How to show tweets within posts
Whenever WordPress is updated, there is usually a nice new feature to explore and marvel at.
In the latest version (3.4), WordPress allows us to display tweets in posts (as shown below). When you mouse over it, you’ll find that it is also interactive, so you can follow the twitterer, retweet or reply to the tweet, or even mark it as a favourite.
@alice_elliott Thank you – you're a excellent teacher, I love your blogs 🙂
— Ian Gentles (@Banburyshire) June 17, 2012
(It’s so nice when I get complimentary comments – maybe I should show more of them…)
And it’s easy to do this yourself. Go to the twitterer’s timeline, find the tweet in question and click on it.
It will then expand. Look for the time and date in light grey just above the reply field, and click on the word ‘Details’. The tweet will open into a separate page with its own URL.
Copy that URL and then paste it into your blog page you are writing. Although you only see the URL in your text, when you preview your post the tweet will be shown in all its glory!
–oo0oo–
And now I’ve just found another facet within this feature. While preparing another complimentary tweet, after I clicked on ‘Details’ the tweet expanded to show the conversations before and after, with the light grey link ‘Embed this Tweet’ appearing in the same place. This resulted in a menu that provide me with the HTML code for the tweet:
(remember to pull the field down with the little arrow in bottom right hand corner to reveal the whole of the code, or highlight it all via Ctrl A before copying) which, when copied into my post (click on the HTML tag at the top of the posting field for pasting in HTML), appeared as this:
but when your preview or publish, it appears like this:
@alice_elliott I loe your blogs and tweets!!
— Carmen MacDougall (@VAtrainingpro) June 29, 2012
which in spite of the typo I think this is pretty cool!
And hopefully without going overboard, here’s another example:
@alice_elliott offers a great website about blogging! Fairy Blog Mother fairyblogmother.co.ukNice one! 🙂
— DeeAnna Nagel (@TherapyOnline) June 29, 2012
Happy tweet-blogging!
Latest posts by Alice Elliott (see all)
- How to write SEO content which still reads well - 29 January 2021
- 5 most common SEO mistakes to avoid in 2021 - 28 January 2021
- 6 reasons to use Google Ads for your business - 25 January 2021
- How to find the right web host for your blog - 13 January 2021