Blog - Latest News

How to Display Any RSS Feed on Your WordPress Blog

<h2><?php _e( ‘Recent news from Some-Other Blog:’, ‘my-text-domain’ ); ?></h2> <?php // Get RSS Feed(s) include_once( ABSPATH . WPINC . ‘/feed.php’ ); // Get a SimplePie feed object from the specified feed source. $rss = fetch_feed( ‘http://www.wpbeginner.com/feed/’ ); if ( ! is_wp_error( $rss ) ) : // Checks that the object is created correctly // […]

2 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *