Tagged Questions
0
votes
2answers
56 views
How do I use fetch_feed() to pull in a large number of posts?
When I use fetch_feed() to pull in posts from a feed, even if I set the maximum posts variable to a very high number, it will only pull in 10 posts. I want to pull in all the posts and then paginate ...
0
votes
1answer
120 views
Aspx/Rss feed - failed to open stream: Redirection limit reached
I have this issue ive been stuck with now. Its when i load a page that have a feed.
I put the feed in wp-admin , this usually work with other feeds but not sure why its not working with this kind of ...
1
vote
1answer
60 views
How do I get link URLs from the Wordpress links backend into an array?
I'm currently running a blogroll on a site I'm working on by defining a variable with an array that has all the rss feed urls I want to pull from. Like this for example:
<?php // Get RSS Feed(s)
...
0
votes
1answer
800 views
Getting Thumbnail in fetch_feed from custom field
i have setuped showing rss from my network site using fetch_feed();
include_once(ABSPATH . WPINC . '/feed.php');
$rss = fetch_feed('rss link here');
$maxitems = $rss->get_item_quantity(5);
...
0
votes
3answers
318 views
Unable to display favicon using get_favicon()?
I'm using fetch_feed (based on Simplepie) to display an array of RSS feeds (favicon & headlines only). Documentation on the simplepie website says to use get_favicon in the stylesheet. And I'm ...
0
votes
1answer
260 views
Showing RSS feed via fetch_feed. How to show the site title of the feed?
Question is simple. Can i get the title and main url of the site from where the posts are loading? Actually i want to linked to the main site.
The url can be found by wordpress function esc_url(); ...
0
votes
3answers
364 views
Passing feed URLs with “&” to fetch_feed()?
How do I pass feed URLs with & in the URL to fetch_feed()?
The feed is not parsed correctly if there is a & in the feed URL. Actually it works in the example I gave, but now I'm populating ...
1
vote
1answer
219 views
placement of wp_error with fetch_feed
This might be really simple, but I'm pretty hopeless when it comes to rss and WP. Where should I put the if ( is_wp_error( $feed ) ) { in a code like this:
<?php
$rss = ...
1
vote
2answers
478 views
How to set the cache for the built-in SimplePie feed parser?
I'm using the built-in SimplePie, AKA fetch_feed(), to retrieve a feed, and I want to be able to adjust the cache time from an admin menu. SimplePie itself is well documented, but not so much the ...
