o wait, thsi seems to work:
function fields_in_feed($content) {
if(is_feed()) {
$post_id = get_the_ID();
$output .= '<p>' . get_post_meta($post_id, "text", true) . '</p>';
$content = $content.$output;
}
return $content;
}
add_filter('the_content','fields_in_feed');
i was trying to get acf content in general to show the text for items.
in the rss feed which i used in a mailchimp campagne it was only showing the title as a link to the item.
when i put the code above in the functions.php it seemed to work but the content of my pages (without acf fields, only the ‘content’) disappeared.
any thoughts?