In a very irritating way this just stopped working. Here's my feed:
http://feeds.feedburner.com/bokpuffen (as you can see, the fields
doesn't show up)
Here's the code I have in functions.php (forfattare is the magic field
I'm trying to add to my feed):
function feed_magic_fields( $content ) {
global $post, $id;
if ( !is_feed() )
return $content;
// is feed
$forfattare = get('forfattare');
if($forfattare) {
$content .= ($forfattare);
}
return $content;
}
add_filter( 'the_content', 'feed_magic_fields' );
On Sep 23, 11:12 am, Emil Dorbell <
emil.dorb...@gmail.com> wrote:
> Fantastic, works like a charm. Thank you!
>
> 23 sep 2010 kl. 06.34 skrev Hunk:
>
> > check thishttp://
wordpress.stackexchange.com/questions/894/best-way-to-add-cust...