WordPress RSS full entries do not show up!
If you have a blog with WordPress, you probably use RSS for your website. Unfortunately, WordPress doesn’t want to show the full entries of RSS feeds – only summary.
To show the full blog post, you need:
- Go to Settings->Reading and select Full text.
- The open a file wp-includes/feed-rss2.php. By default it has this code at the end:
<…Other PHP code…>
<guid isPermaLink=”false”><?php the_guid(); ?></guid>
<?php if (get_option(‘rss_use_excerpt’)) : ?>
<description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
<?php else : ?>
<description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
<?php if ( strlen( $post->post_content ) > 0 ) : ?>
<content:encoded><![CDATA[<?php the_content() ?>]]></content:encoded>
<?php else : ?>
<content:encoded><![CDATA[<?php the_excerpt_rss() ?>]]></content:encoded>
<?php endif; ?>
<?php endif; ?><… More PHP code…>
- Change it to look like that:
<…Other PHP code…>
<guid isPermaLink=”false”><?php the_guid(); ?></guid>
<?php if (get_option(‘rss_use_excerpt’)) : ?>
<description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
<?php else : ?>
<description><![CDATA[<?php the_content() ?>]]></description>
<?php endif; ?><… More PHP code…>
So: remove additional if()s-else()s and instead of content:encoded write description
Happy blogging!
