1
2
3
4
5
6
7
8
9 function add_feed_post_thumbnail($content) {
global $post;
if(has_post_thumbnail($post->ID)) {
$content = get_the_post_thumbnail($post->ID, 'thumbnail') . $content;
}
return $content;
}
add_filter('the_excerpt_rss', 'add_feed_post_thumbnail');
add_filter('the_content_feed', 'add_feed_post_thumbnail');
wp_nav_menu()
December 8, 2012/ Updated: December 8, 2012