Are you trying to set the excerpt length in GeneratePress without paying for premium?
Because I was having trouble with this myself, I figured I'd post the solution.
If the excerpt in GeneratePress Free isn't cooperating with you, you'll need to add some PHP to your functions.php file in the GeneratePress theme.
I actually found the PHP snippet in GeneratePress' own documentation, but it doesn't tell you exactly how to use it. This isn't completely helpful for newbies.
So here's my quick little guide on setting the excerpt length for GP FREE:
Setting Excerpt Length in GeneratePress
1. From the WordPress dashboard, navigate to Appearance > Theme Editor.
2. Add the following code on line 10.
add_filter( 'generate_show_excerpt', function( $show ) {
if ( 'standard' !== get_post_format() && ! $show ) {
return true;
}
return $show;
} );
3. Scroll down and click Update File.
And that's it! Check to see if everything is working correctly. If you're still having trouble, post your website below in the comments for help.
And be sure to check out my Sticky Header CSS tutorial for 6 free sticky header solutions.
Thank you.