• digiplace

    (@digiplace)


    I want to use the summary feed from my weblog. But how can I make it a bit longer than the default settings? Longer meaning…more text that default.

Viewing 3 replies - 1 through 3 (of 3 total)
  • tomontoast

    (@tomontoast)

    Go to wp-includes/rss2.php and change

    <?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; ?>

    to

    <?php if (get_option('rss_use_excerpt')) : ?>
              <description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
      <?php else : ?>
              <description><![CDATA[<?php the_content() ?>]]></description>
      <?php endif; ?>

    That will make your RSS feed show the whole content of each post.

    Otherwise use one of the excerpt plugins available for wordpress.

    Thread Starter digiplace

    (@digiplace)

    Thank you for you’re reply. But I can make adjustments within Dashbord and choose between whole content or summary.

    I would like to use the summary but make it a bit longer than the 2 sentences it uses now.

    tomontoast

    (@tomontoast)

    Otherwise use one of the excerpt plugins available for wordpress.

    There are loads to choose from like:
    https://sparepencil.com/archives/2007/08/21/advanced-excerpt-plugin-for-wordpress/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do I make a bigger summary feed?’ is closed to new replies.