The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
595 views

How can I get url from image tag in feed with fetch_feed?

I used this piece of code in functions.php to add featured image in <image> tag in feed add_action('rss2_item', 'add_my_rss_node'); function add_my_rss_node() { global $post; ...
0
votes
1answer
168 views

fetch_feed function works on template index.php but not in plugin/wp-admin

I am using fetch_feed and basically have the same code as the great example provided here but I am creating new posts from the content instead of displaying it afterwards. The errors I am seeing are: ...
-1
votes
1answer
48 views

How to show random feed from DB and show content in my site

I try to get more than 3 feed from other web site and show it in my site like : function fw_shortcode( $atts ) { global $wpdb, $feedtable; $result=mysql_query("SELECT * FROM " . $feedtable . ...
2
votes
0answers
142 views

How to get SimplePie fetch_feed without stripping iframe code?

I'm grabbing a remote feed in my plugin and some entries have iframe code I want to keep. However, SimplePie keeps stripping it out. Here is my code and what I've tried already: ...
0
votes
0answers
11 views

Fetch Feed Only Displaying Mapped Source on Multisite

I'm using the basic fetch_feed function to display posts from across my multisite network on my main site. Yet the $source_name variable isn't displaying the correct source when posts are from the ...
0
votes
0answers
55 views

Paginate fetch_feed() Results

I have a scenario where I'm loading an RSS feed on a WordPress website via fetch_feed(). So far, it's working great, but I'm not sure how to paginate the results. The RSS feed is a large archive, so ...