Can't seem to edit output
-
I’m using the php direct call of this plugin. My output is throwing in an extra
at the end of each post but when i try to store the output as a variable such as
$abcdef = jp_get_rss_feed_items(array( 'url' => "https://yourfeedhere/rss", 'numitems' => 2, 'nofollow' => true, 'cssclass' => 'newsbrief', 'getdesc' => false, 'opennewwindow' => false, 'show' => false ));
and then do a print on the variable but try to do a str_replace on it nothing happens… doesn’t even seem to matter where i do the string replace it doesn’t do anything…
so if you sayprint(str_replace('d','',$abcdef));
(that would technically replace all letter d’s with nothing)
it just displays the feed as is … no replacing happening…
if anyone has any insight into why and how that’d be awesome! ??
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Can't seem to edit output’ is closed to new replies.