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. Wenn Sie erhalten mehr als ein Blog oder ein Forum, dann können Sie den RSS-Feed auf Ihre Nachrichten oder Gegenstände von einer anderen Website auf Ihrer WordPress-Blog angezeigt werden können. This would in turn give more exposure to your posts written else where. Dies würde wiederum zu mehr Aufmerksamkeit auf Ihre Nachrichten anderes geschrieben, wo. Although there might be plugins to do this job, you can do this using just 2 lines of code. Obwohl es vielleicht Plugins zu tun, um diesen Job, können Sie dies mit nur 2 Zeilen Code. WordPress has a build in function to get the RSS feed of any website. WordPress ist ein in der Funktion aufbauen, um den RSS-Feed von jeder Webseite.
We used this query to get the RSS feed of our Wir haben diese Abfrage an den RSS-Feed erhalten unsere Mobile Blog Mobile Blog in the sidebar. in der Seitenleiste. Here is the code. Hier ist der 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. Die erste Zeile des Codes ist es, RSS-Core-Datei von WordPress und in der zweiten Zeile geben wir die URL des Feeds und die Zahl der Stellen nennen, die angezeigt werden, mit dem wp_rss ()-Funktion. You need to replace the feed URL with the URL you want to display in the sidebar. Sie müssen die URL des Feeds mit der URL, die Sie in der Seitenleiste zu ersetzen. You can see the Mobile Blog posts showing up in the sidebar of this blog using this method. Sie können die Mobile Blog-Beiträge zeigen werden in der Seitenleiste von diesem Blog mit dieser Methode.

You can also do some formatting using the <ul> and <li> based on your current theme style. Sie können auch einige Formatierungen mit dem <ul> und <li> basierend auf Ihrem aktuellen Thema Stil.
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. NB: Wenn Sie sich nicht wohl Hinzufügen des Codes, kann erhalten Sie einige Plugins, um die Arbeit zu erledigen, aber es ist immer ratsam, mit geringerer Zahl von Plugins zu gehen.
Thanks to Dank WP Recipes WP Rezepte for this tip. für diesen Tipp.































Also, if your theme supports widgets then you can directly add RSS widget to your blog sidebar Auch wenn Ihr Thema unterstützt Widgets können Sie direkt RSS Widget in Ihrem Blog Seitenleiste hinzufügen
Yes, Widget supported themes can directly add RSS Widget which intern usages above code and rss.php to retrieve feeds Ja, unterstützt Widget Themen können direkt RSS Widget, die intern Gebräuche obigen Code an und rss.php zum Abrufen der RSS-Feeds hinzufügen
[...] How to Display Any RSS Feed on Wordpress Blog [...] [...] Wie zeigt man einen RSS-Feed auf Wordpress Blog [...]
Small error in the code. Kleiner Fehler im Code. Second line must be.. Zweite Zeile muss ..
wp_rss('http://feeds2.feedburner.com/themobileblogin', 5); ?> wp_rss ( 'http://feeds2.feedburner.com/themobileblogin', 5);?>
The ending ' is missing. Die Endung "fehlt.
What if you don't want the RSS to go to a sidebar, but the actual main body of your website? Was, wenn Sie nicht möchten, dass der RSS um eine Sidebar gehen, aber der eigentliche Hauptteil Ihrer Website? 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? Ich gehöre zu einer Organisation, die globla ist und ich seine Nachrichten in th Emain Körper meines Spin-Off-Site erscheinen, nicht nur in einer Sidebar aus?