10 Useful RSS-Tricks and Hacks For WordPress – Smashing Magazine
he problem. Do you have more than one blog, or do you manage a forum? If so, you may want to be able to display any RSS feed on your WordPress blog.
The solution. Many plug-ins can do the job, but they’re not necessary at all. WordPress has a built-in RSS reader that is used, for example, to display news on your dashboard. All you have to do is use it in your theme.
Paste the following code anywhere in your theme (personally, I’d put it in the sidebar, the footer or, even better, the page template):
Save it and you’re done. It’s as easy as that!
Code explanation. The first thing we have done is include the rss.php file from WordPress core. This file allows us to use the wp_rss() function, which takes two parameters: the first is the RSS feed’s URL, and the second is the number of RSS entries to be displayed.
My Blog Is Also Paying My Bills – Yahoo! Finance
Posted from Diigo. The rest of my favorite links are here.
This entry was posted in Websites
. Bookmark the permalink