I want to remove the post content that is displayed in the RSS feed. How can I do this? I just only want it to show a list of post titles and not the content

1 Answer 1


One way is to use filters like:

add_filter( 'the_content_feed', '__return_empty_string' );
add_filter( 'the_excerpt_rss', '__return_empty_string' );

to remove the post excerpts and post contents from the feeds (atom, rss, rss2).

But note that this will not remove the corresponding XML nodes from the feed, only their contents.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.