This link has been bookmarked by 484 people . It was first bookmarked on 02 Dec 2008, by James Rohal.
-
28 Sep 11
-
27 Sep 11
-
26 May 11
Stephen Parkerhe 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
<?php include_once(ABSPATH.WPINC.'/rss.php');
2
wp_rss('http://feeds.feedburner.com/wprecipes', 3); ?>
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. -
19 May 11
-
18 May 11
-
10 May 11
-
05 May 11
-
16 Apr 11
-
30 Mar 11
-
23 Mar 11
-
27 Feb 11
-
14 Feb 11
-
07 Feb 11
-
30 Jan 11
-
29 Jan 11
-
27 Jan 11
-
25 Jan 11
-
05 Dec 10
-
02 Dec 10
-
04 Nov 10
-
02 Nov 10
-
29 Oct 10
-
18 Oct 10
-
12 Oct 10
-
07 Oct 10
-
06 Oct 10
-
28 Sep 10
-
23 Sep 10
-
13 Sep 10
-
11 Sep 10
-
07 Sep 10
-
02 Sep 10
-
29 Aug 10
-
18 Aug 10
-
10 Aug 10
-
23 Jul 10
-
08 Jul 10
-
07 Jul 10
-
29 Jun 10
-
25 Jun 10
-
11 Jun 10
shell zaldivar1\n<?php include_once(ABSPATH.WPINC.'/rss.php');\n2\nwp_rss('http://feeds.feedburner.com/wprecipes', 3); ?>\n
-
06 Jun 10
-
27 May 10
-
26 May 10
-
24 May 10
-
17 May 10
-
09 May 10
Jerry Spiller#9 RSS feed for a WP category = just add "/feed" to the category URL
-
07 May 10
-
03 May 10
-
02 May 10
-
01 Apr 10
-
28 Mar 10
-
26 Mar 10
-
14 Mar 10
-
16 Feb 10
-
30 Jan 10
-
24 Jan 10
-
23 Jan 10
-
21 Jan 10
-
20 Jan 10
-
31 Dec 09
-
29 Dec 09
-
20 Dec 09
-
13 Dec 09
-
07 Dec 09
-
03 Dec 09
-
-
30 Nov 09
-
10 Nov 09
-
09 Nov 09
-
22 Oct 09
-
08 Oct 09
-
25 Sep 09
-
19 Sep 09
-
16 Sep 09
-
14 Sep 09
-
26 Aug 09
-
22 Aug 09
-
21 Aug 09
-
16 Aug 09
-
14 Aug 09
-
09 Aug 09
-
06 Aug 09
-
03 Aug 09
-
28 Jul 09
-
22 Jul 09
-
19 Jul 09
-
08 Jul 09
-
06 Jul 09
-
03 Jul 09
-
01 Jul 09
Chris WileyBy Jean-Baptiste Jung RSS is one of those technologies that are extremely simple yet extremely powerful. Currently, RSS is the de facto standard for blog
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.