WordPressのデフォルトのFeedは、プラグインで自動生成した情報を含まないが、含むようにカスタマイズする方法を試してみたので記す。
確認環境
方法
wp-includes/feed-rss2.phpを編集
[変更前]
<?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 (get_option('rss_use_excerpt')) : ?>
<description><![CDATA[<?php the_content_feed('rss2') ?>]]></description>
<?php else : ?>
<description><![CDATA[<?php the_content_feed('rss2') ?>]]></description>
wp-includes/feed-rdf.phpを編集
[変更前]
<?php if (get_option('rss_use_excerpt')) : ?>
<description><?php the_excerpt_rss() ?></description>
<?php else : ?>
<description><?php the_excerpt_rss() ?></description>
[変更後]
<?php if (get_option('rss_use_excerpt')) : ?>
<description><?php the_content_feed('rdf') ?></description>
<?php else : ?>
<description><?php the_content_feed('rdf') ?></description>
wp-includes/feed-rss.phpを編集
[変更前]
<title><?php the_title_rss() ?></title>
<description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
[変更後]
<title><?php the_title_rss() ?></title>
<description><![CDATA[<?php the_content_feed('rdf') ?>]]></description>
例
以上