Home › Forums › Support › Reduce length of excerpt on Category / Archive Pages This topic has 3 replies, 2 voices, and was last updated 3 years, 8 months ago by Leo. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts August 10, 2020 at 9:37 am #1395778 antware Hi guys, looking to reduce the excerpt length when list of posts are listed on a category archive page. This is what I’m currently using in the function.php file, but it’s having no effect: function archive_custom_excerpt_length( $length ) { if ( is_category() ) { return 25; } return $length; } add_filter( 'excerpt_length', 'archive_custom_excerpt_length', 99 ); Any ideas would be great, thanks. August 10, 2020 at 9:48 am #1395795 LeoStaff Customer Support Hi there, The code looks good to me. Not sure why it isn’t working. Can you give this a shot instead? https://docs.generatepress.com/article/excerpt_length/ August 10, 2020 at 3:45 pm #1396220 antware Thanks Leo, it seemed I missed something, and it was in fact working. Any idea how to increase or reduce the number of posts that would appear on a Category Archive page, currently set to 10, I only want 9 as I have a 3 column grid? August 10, 2020 at 3:49 pm #1396235 LeoStaff Customer Support Any chance you can open a new topic for the separate question? I’ll mark this as resolved. Thanks 🙂 Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In