Posts 05/27/2011

  • 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):
    1

    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.

    tags: wordpress rss tricks hacks

  • tags: blog

Posted from Diigo. The rest of my favorite links are here.

Advertisements

About Steve Parker

Youth Football Coach Keller, Texas, Web Developer, Wordpress Consultant, and an Internet Marketing / SEO / PPC Consultant.
This entry was posted in Websites. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s