Home › Forums › Support › Excerpt Word Count This topic has 5 replies, 3 voices, and was last updated 3 years, 9 months ago by David. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts July 6, 2020 at 2:38 pm #1354459 Christopher Is there any way that I can increase the word count for the excerpt for the featured post? I would like to say a little bit more before the read more button. July 6, 2020 at 4:40 pm #1354540 TomLead Developer Lead Developer Hi there, Give this a shot: add_filter( 'excerpt_length', function( $length ) { if ( in_array( 'featured-column', get_post_class() ) ) { return 100; } return $excerpt; }, 100 ); Let me know 🙂 July 7, 2020 at 6:58 am #1355177 Christopher Where do I put that? July 7, 2020 at 7:02 am #1355187 DavidStaff Customer Support That code is PHP. This doc explains: https://docs.generatepress.com/article/adding-php/ July 7, 2020 at 7:18 am #1355211 Christopher Ok thank you! July 7, 2020 at 7:32 am #1355229 DavidStaff Customer Support You’re welcome Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In