Tagged Questions
0
votes
1answer
17 views
fetch_feed showing only first item
I'm trying to import a feed from a wordpress site to another using fetch_feed.
All is good excerpt for the fact I can get only the first item of the fedd.
Here's the code I'm using.
...
0
votes
1answer
30 views
get_item_quantity() Error When Fetching Feed
I'm using this script in two places on the same page to output some RSS feeds:
<?php
include_once(ABSPATH . WPINC . '/feed.php');
$rss = ...
2
votes
1answer
119 views
fetch_feed: retrieve entries in the appearing order, not chronologically
I'm using WP function fetch_feed to retrieve a feed and display its items.
<?php
/* include the required file */ include_once(ABSPATH . WPINC . '/feed.php');
/* specify the source ...
1
vote
1answer
165 views
Combining RSS Feeds and Sorting with fetch_feed
I'm trying to create a feed of the most recent 10 posts from 5 different feeds all combined into one list. I found a way to combine the feeds but have not been able to easily limit them to 10 and sort ...
2
votes
2answers
3k views
How to get a post content from another wordpress blog/site?
I have a situation where i need to display posts from a specific category from another wordpress site into my wordpress site.
Both are my sites and i thought of creating a page specially for this in ...
0
votes
3answers
370 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
222 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 = ...