Family Encyclopedia >> Electronics

How to display any RSS feed on your WordPress blog

There are times when you want to display external RSS feeds on your blog. Maybe a blog feed from your other blog or some other site. Well, you don't need a plugin to do this because WordPress has a built-in function that will take care of this. In this article, we will show you how you can display an external RSS feed on your blog. This way you can even use WordPress as a news aggregator.

Simply paste the following code into any WordPress file of your choice. Preferably on a custom page you create.

 get_item_quantity (5); // Construye una matriz de todos los elementos, comenzando con el elemento 0 (primer elemento). $ rss_items = $ rss-> get_items (0, $ maxitems); terminara si; ?> 
  • "> get_title ());?>

Be sure to change the font URL, quantity, and any other settings you like.

Source:WordPress Codex