Add Post Excerpt to RSS Feed

Include post excerpts in RSS feeds.

<?php
function add_excerpt_to_rss_feed($content) {
    if (is_feed()) {
        return get_the_excerpt();
    }
    return $content;
}
add_filter('the_content', 'add_excerpt_to_rss_feed');
?>

1 comment

comments user
LeonardTog

Launch into the expansive realm of EVE Online. Shape your destiny today. Conquer alongside thousands of pilots worldwide. [url=https://www.eveonline.com/signup?invc=46758c20-63e3-4816-aa0e-f91cff26ade4]Free registration[/url]

Post Comment