• Resolved skipcollege

    (@skipcollege)


    It looks like WP recently changed what the Page (not post) feed displays in it from the page content to the page comments. I’m looking to reverse that to make our sites functional again.

    Really, I’m ideally looking to display the page content excerpt in the feed of only select pages on a case by case basis.

    However, if only a way to make all pages show their content in their feed is available, then I’ll take it.

    The only relevant thing I could find after searching for quite a while is this but it doesn’t seem to work with 2.3… https://www.wp-plugins-db.org/plugin/page-feed

    A hack, workaround, or plugin to get page feeds to display their content excerpt instead of comments is fine (ideally on a page by page basis).

    Need help! Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter skipcollege

    (@skipcollege)

    Hacked it myself. Here it is…

    In includes/feed-rss2-comments.php on line 49 I changed

    <?php comment_text(); ?>

    to

    <?php if (is_page(‘2’)) the_excerpt(); else comment_text(); ?>

    Use is_single for posts if you wish.

    I updated my plugin and it seems to work in WordPress 2.2; I haven’t tested in 2.3.

    Fix page feed plugin for WordPress 2.1+

    I thought the bug was supposed to be fixed in 2.2 but I guess not.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display Content in Page Feed – Not Comments!’ is closed to new replies.