get_rss


get_rss ( $url, $num_items = 5 )

Parameters:
  • (string) url URL of feed to display. Will not auto sense feed URL.
  • (int) num_items Optional. Number of items to display, default is all.
Returns:
  • (bool) False on failure.
Defined at:

Description

Display RSS items in HTML list items.You have to specify which HTML list you want, either ordered or unordered before using the function. You also have to specify how many items you wish to display. You can't display all of them like you can with wp_rss() function.

Related Functions

fetch_rss, get_posts, get_sites, get_terms, get_users

Top Google Results

User discussions

wpseek mobile