Check out my latest project: Code Dumper

Complete Posts in WordPress Feeds

If you use WordPress and make use of the <!-- more --> tag, some of you may want to still show the complete post in the RSS feed.

You have to change some code, but it's easy to do.

In all the wp-includes/feed-*.php files, change:

$more = 1;

To:

global $more;
$more = 1;

This will change the global more flag and include the complete post - as my blog does. Happy hacking.

2 Responses to “Complete Posts in WordPress Feeds”

  1. It's cool. I don't know what's your WP version!? but in newer you can find one option for do.
    It's here: Options/Reading/Syndication Feeds Just select Full text for each article, show and update options.

  2. @Alvanweb - sure - the thing is that I use the <!-- more --> which forces the truncation in the feed:

    Note: If you use the <!--more--> feature, it will cut off posts in RSS feeds.

Leave a Reply
Not required

CODE: Please escape code and wrap in <pre><code>, doing so will automatically syntax highlight