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. Εάν διατηρηθεί περισσότερο από ένα blog ή ένα forum, τότε μπορείτε να εμφανίσετε το RSS feed των θέσεων ή άρθρα σας από άλλο site για WordPress σας blog. 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. Μολονότι μπορεί να υπάρχουν plugins για να κάνουν αυτή τη δουλειά, μπορείτε να το κάνετε αυτό χρησιμοποιώντας μόνο 2 γραμμές κώδικα. WordPress has a build in function to get the RSS feed of any website. WordPress έχει βασιστεί σε λειτουργία για να πάρετε το RSS feed της κάθε ιστοσελίδας.
We used this query to get the RSS feed of our Χρησιμοποιήσαμε αυτό το ερώτημα για να πάρετε το RSS feed του μας Mobile Blog Κινητό Blog in the sidebar. στο 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. Η πρώτη γραμμή του κώδικα είναι να θέσει στο αρχείο RSS πυρήνα του WordPress και στη δεύτερη γραμμή θα προσδιορίζει τις ζωοτροφές URL και ο αριθμός των θέσεων που πρέπει να εμφανίζονται με το wp_rss () συνάρτηση. You need to replace the feed URL with the URL you want to display in the sidebar. Θα πρέπει να αντικαταστήσετε το URL ζωοτροφών με το URL που θέλετε να εμφανίζονται στο sidebar. You can see the Mobile Blog posts showing up in the sidebar of this blog using this method. Μπορείτε να δείτε το Mobile Blog θέσεις εμφανίζονται στο sidebar αυτού του blog που χρησιμοποιούν αυτή τη μέθοδο.

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. Σημείωση: Αν δεν είστε εξοικειωμένοι την προσθήκη του κώδικα, μπορείτε να πάρετε κάποια plugins για να κάνει τη δουλειά, αλλά είναι πάντοτε σκόπιμο να πάει με μικρότερο αριθμό από 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 Επίσης, αν το θέμα σας υποστηρίζει widgets τότε μπορείτε να προσθέσετε απευθείας RSS widget στο blog σας πλαϊνή
Yes, Widget supported themes can directly add RSS Widget which intern usages above code and rss.php to retrieve feeds Ναι, υποστηρίζεται Widget θέματα μπορούν να προσθέσουν άμεσα RSS Widget που intern χρήσεις παραπάνω κώδικα και rss.php να ανακτήσετε feeds
[...] How to Display Any RSS Feed on Wordpress Blog [...] [...] Τρόπος εμφάνισης Κάθε RSS Feed για Wordpress Blog [...]
Small error in the code. Μικρό λάθος στον κώδικα. Second line must be.. Δεύτερος άξονας πρέπει να είναι ..
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 του spin-off μου ιστοσελίδα, δεν είναι μόνο σε μια πλαϊνή μπάρα;