Quantcast
Channel: fetch_feed(custom field url) printing out the url rather then using it | WordPress.org
Viewing all articles
Browse latest Browse all 18

alchymyth on "fetch_feed(custom field url) printing out the url rather then using it"

$
0
0

apart from the fact that your code is near unreadable, because you did not use the code button as described in the forum rules:

if this is the end of your code:

foreach ($afl_items as $item) {
?>

//Echo out the RSS feed details
<p>get_permalink(); ?>" target="_blank">
<?php echo $item->get_title(); ?><p>

then you are missing a closing curly bracket } to mark the end of the foreach loop; for instance:

foreach ($afl_items as $item) {
?>

//Echo out the RSS feed details
<p>blabla repair to show the link structure -get_permalink(); ?>" target="_blank">
<?php echo $item->get_title(); ?><p>

<?php } ?>

Viewing all articles
Browse latest Browse all 18

Trending Articles