I want to get an rss feed for a sing开发者_StackOverflow中文版le post, meaning I just want the whole article in an rss format, exlcuding comments. Is there a way for me to do this in wordpress?
Thanks
Appreciate this is an old one but incase anyone else stumbles upon this, append ?withoutcomments=1 to your URL:
http://mediasafari.com/news/marketing-careers-announces-two-new-courses/feed/rss/?withoutcomments=1
Adding /feed/rss/ on the end of a url give the excerpt of the post for example:
http://mediasafari.com/news/marketing-careers-announces-two-new-courses/feed/rss/ 
If you change your excerpt to show the full article then that should work:
<?php
function rssFullText($content) {
    global $post;
    $content = $post->post_content;
    return $content;
}
add_filter('the_excerpt_rss', 'rssFullText');
?>
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论