WordPress.org

Ready to get started?Download WordPress

Forums

How to limit the excerpt for RSS feeds? (3 posts)

  1. e-sushi
    Member
    Posted 4 years ago #

    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...

  2. e-sushi
    Member
    Posted 4 years ago #

    Anyone?

  3. e-sushi
    Member
    Posted 4 years ago #

    Shoving this to "Plugins and Hacks"...

Topic Closed

This topic has been closed to new replies.

About this Topic