Extracting Channel Data from fetch_feed()

The official WP docs say it returns a SimplePie object and the very first example in the SimplePie documentation is: // Single feed $feed = new SimplePie(‘http://simplepie.org/blog/feed/’, $_SERVER[‘DOCUMENT_ROOT’] . ‘/cache’); echo $feed->get_title(); https://simplepie.org/wiki/reference/simplepie/start $feed is the same type of object as the return value of fetch_feed: Return SimplePie|WP_Error SimplePie object on success or WP_Error object … Read more

How do I get an RSS feed to work

You seem to have an invalid feed. There’s a <center></center> tag at the beginning opening the file instead of <?xml version=”1.0″ encoding=”UTF-8″?>. You need to fix that. I don’t know where that comes from, probably from some post being not well formatted, or from some plugin or your theme. Try disabling all your plugins and … Read more