Hellodracon,
I had an issue that seemed very much like this. I finally figured out that my Theme (Kleo) was over-riding the EM setting. If you have a non-WP theme, you may want to search out something from your Themes support forum. Below is what I am successfully using:
In my Child Theme > functions.php, I added:
/* CODE TO CONTROL KLEO THEME OVERALL EXCERPT CHARACTER LIMIT
* Change number on line 4 below
* Copied from: https://seventhqueen.com/support/kleo/article/limit-excerpt
*/
if ( ! function_exists( 'kleo_excerpt' ) ) {
function kleo_excerpt( $limit = 50, $words = false ) {
/*Force excerpt length*/
$limit = 1000;
$from_content = false;
$excerpt_initial = get_the_excerpt();
if ( $excerpt_initial == '' ) {
$excerpt_initial = get_the_content();
$from_content = true;
}
$excerpt_initial = preg_replace( '<code>\[[^\]]*\]</code>', '', $excerpt_initial );
$excerpt_initial = strip_tags( $excerpt_initial );
/* If we got it from get_the_content -> apply length restriction */
if ( $from_content ) {
$excerpt_length = apply_filters( 'excerpt_length', $limit );
$excerpt_initial = wp_trim_words( $excerpt_initial, $excerpt_length, '' );
}
if ( $words ) {
$excerpt = explode( ' ', $excerpt_initial, $limit );
if ( count( $excerpt ) >= $limit ) {
array_pop( $excerpt );
$excerpt = implode( " ", $excerpt ) . '...';
} else {
$excerpt = implode( " ", $excerpt ) . '';
}
} else {
$excerpt = substr( $excerpt_initial, 0, $limit ) . ( strlen( $excerpt_initial ) > $limit ? '...' : '' );
}
return '<p>' . $excerpt . '</p>';
}
}
function kleo_new_excerpt_length( $length ) {
return 500;
}
add_filter( 'excerpt_length', 'kleo_new_excerpt_length' );