Chapter 24. Connecting to Content on Other Sites
You can enhance the content of your site in many ways by tapping into content available on other sites and displaying it on your own. Just as your WordPress site can generate RSS feeds of your material, you can tap into the feeds generated by other sites. Some of this content may even be generated by you, as in the case of your postings on Facebook, Twitter, and other social media sites.
In this lesson, I show you how to integrate this content into your site and talk a bit about where to look for such content.
Connecting to Your Social Media Accounts
If you have social media accounts, such as Twitter or Facebook, the content you're generating on those sites could be useful on your WordPress site. If you don't have any social media accounts related to the topic of your site, you should get some! Then you can have your latest entries on those social media sites displayed automatically on your WordPress site.
I'll show you how it's done with Twitter, but the process is very similar for most other sites.
You'll need some code from Twitter first, and most social media sites make it very easy to get that, as you can see in Figure 24-1.
Many sites make it easy, as Twitter does here, to customize how the feed will look on your site, how many items it will display, and so on. When you're through customizing, you'll click something like Finish & Grab Code or Generate Code, and you're presented with the code, as in Figure 24-2.
Figure 24-1. Figure ...
Get WordPress® 24-Hour Trainer now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.