Hello, I'm trying to configure Feedburner my site to send via e-mail only prominent image of the post in wordpress !! I just want the title and featured image of the post.
function ld_featured_image_in_feed ($ content) {
global $ post;
if (is_feed ()) {
if (has_post_thumbnail ($ post-> ID)) {
$ Feat_image_output = get_the_post_thumbnail ($ post-> ID, 'medium', array ( 'style' => 'height: 566px; width: 850px important;'));
$ Content = $ feat_image_output. $ Content;
}
}
return $ content;
add_filter ('the_content_feed' 'imagem_destaque_em_rss');