In your child theme, you’ll need to add custom JavaScript to change the “read more” text. You can do this by creating a new JavaScript file (e.g: FILE NAME.js) and placing it in the js folder within your child theme directory.
(function($) {
$(document).ready(function() {
$('.wp-block-latest-posts__post-excerpt a').text('MY TEXT HERE');
});
})(jQuery);
This code uses jQuery to find all "read more" links within the wp-block-latest-posts__post-excerpt block and replace their text with "Your New Text Here". Change 'Your New Text Here' to your desired text.
at the end of the functions.php file
function enqueue_custom_scripts() {
wp_enqueue_script( 'custom-scripts', get_stylesheet_directory_uri() . '/js/FILE NAME.js', array( 'jquery' ), null, true );
}
add_action( 'wp_enqueue_scripts', 'enqueue_custom_scripts' );