WordPress.org

Support

Support » How-To and Troubleshooting » How to limit the excerpt for RSS feeds?

How to limit the excerpt for RSS feeds?

  • Hey people!

    To keep it short: I’m using this in the “functions.php” of my theme to limit the “regular excerpt” for my category pages:

    function my_excerpt_length($length) {
    	return 32;
    }
    add_filter('excerpt_length', 'my_excerpt_length');

    Is there any similar functionality to limit the excerpt for RSS feeds? Since the “excerpt_length” filter does not seem to catch on in feeds at all.

    Tnx for all feedback you can provide…

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to limit the excerpt for RSS feeds?’ is closed to new replies.
Skip to toolbar