The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
504 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
164 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
43 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
126 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
7 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
39 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 ...
-1
votes
0answers
46 views

Is it possible with wordpress to use a shopping API based on XML or JSON?

I am running an affiliate website from last 2 years and it is based on the product feed api coming from one of the price comparison websites. My website was created by a developer in Core Php. When I ...