The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
26 views

Importing feeds with PHP

I would like to create a customizable code to import some Feed RSS in Wordpress, using wp-cron. I'm trying this but it does show nothing, can someone explain me why? <? php add_action('...
0
votes
1answer
644 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; if(...
0
votes
1answer
176 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
56 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 . ...
3
votes
0answers
159 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: kses_remove_filters();...
0
votes
0answers
13 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
67 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 ...
-2
votes
0answers
10 views

Wordpress multisite post call

I have a working sub-directory installation of wordpress multi-site, now i have site like say - company.com company.com/product1 company.com/product2 company.com/campaign now i will be creating a ...