I solved the problem now, reading another article with same problem.
Now I only have the last problem, that some buttons show “lees meer” (wanted) and the buttons, which are now shown too after putting code in the function.php, have the title “weiterlesen” (translation from the original read more). How I can change all to “lees meer”?
‘
The code I put into the function.php:
add_filter( ‘wp_trim_excerpt’, ‘tu_excerpt_metabox_more’ );
function tu_excerpt_metabox_more( $excerpt ) {
$output = $excerpt;
if ( has_excerpt() ) {
$output = sprintf( ‘%1$s <p class=”read-more-button-container”>%3$s</p>’,
$excerpt,
get_permalink(),
__( ‘Read more’, ‘generatepress’ )
);
}
return $output;
}