If you maintain more than one blog or a forum, then you can display the RSS feed of your posts or articles from another website on your WordPress blog.場合、1つのブログやフォーラムを超える場合、あなたの投稿された記事ワードプレスのブログ上の別のWebサイトからのRSSフィードを表示することができますを維持します。 This would in turn give more exposure to your posts written else where.これはあなたの記事を他の書面に触れる機会を与える有効になる場所。 Although there might be plugins to do this job, you can do this using just 2 lines of code.あるものの、この仕事をするためのプラグインかもしれないが、このコードのわずか2行を使用して行うことができます。 WordPress has a build in function to get the RSS feed of any website.ワードプレスの関数内の任意のサイトのRSSフィードを取得するに構築しています。
We used this query to get the RSS feed of our私たちのRSSフィードを取得するには、このクエリを使用した当社の Mobile Blogモバイルブログ in the sidebar.サイドバーです。 Here is the code.ここでは、コードです。
<?php include_once(ABSPATH . WPINC . '/rss.php'); "?PHPのinclude_once(absPathが。WPINC。'/ rss.php');
wp_rss('http://feeds2.feedburner.com/themobileblogin, 5); ?> wp_rss('http://feeds2.feedburner.com/themobileblogin、5);?"
The first line of code is to call to RSS core file of WordPress and in the second line we specify the feed URL and the number of posts to be displayed using the wp_rss() function. ()関数はwp_rssを使用して表示されるコードの最初の行は、ワードプレスのRSSコアファイルそして我々の投稿の数は、フィードのURLを指定する2番目のラインに電話することです。 You need to replace the feed URL with the URL you want to display in the sidebar.場合は、URLの場合は、サイドバーに表示すると、フィードのURLを交換する必要があります。 You can see the Mobile Blog posts showing up in the sidebar of this blog using this method.あなたは、モバイルブログ、このブログは、このメソッドを使用してサイドバーに表示の記事を見ることができます。

You can also do some formatting using the <ul> and <li> based on your current theme style.また、一部の書式<ul>と<li>あなたの現在のテーマのスタイルに基づいて使用して行うことができます。
NB: If you are not comfortable adding the code, you might get some plugins to do the job, but it is always advisable to go with lesser number of plugins. 注意:場合は、コードを追加する快適されない場合、いくつかのプラグインが仕事になるかもしれないが、それは常にプラグインの低い番号を移動することをお勧めです。
Thanks to感謝する WP Recipes WPのレシピ for this tip.このヒントをください。































Also, if your theme supports widgets then you can directly add RSS widget to your blog sidebarまた、もしあなたのテーマにして、直接あなたのブログのサイドバーにRSSウィジェットを追加できるウィジェットをサポートする
Yes, Widget supported themes can directly add RSS Widget which intern usages above code and rss.php to retrieve feedsはい、ウィジェットの直接のRSSウィジェットのコードをrss.phpを取得するために上記のインターン用途にフィードを追加することができますテーマをサポート
[...] How to Display Any RSS Feed on Wordpress Blog [...] [...]する方法ワードプレスのブログ上の任意のRSSフィードを表示する[...]
Small error in the code.コード内の小エラーです。 Second line must be.. 2行目..する必要があります
wp_rss('http://feeds2.feedburner.com/themobileblogin', 5); ?> wp_rss('http://feeds2.feedburner.com/themobileblogin'、5);?"
The ending ' is missing.期'が見つかりません。
What if you don't want the RSS to go to a sidebar, but the actual main body of your website?どのような場合には、RSSのサイドバーに行くことをしたくはありませんがあなたのサイトの実際の本体? I belong to an organisation that is globla and I'd like its news to appear in th emain body of my spin-off site, not just in a sidebar?私は、globlaだと私はサイドバーだけで私のスピン番目emain本体に表示するには、ニュースサイトのオフではなく、したいのですが、組織に属している?