Hi William,
Yes, there is a way and you can do it by using filter generate_excerpt_more_output.
Reference: https://docs.generatepress.com/article/generate_excerpt_more_output/
For instance, here’s a snippet you may try:
add_filter('generate_excerpt_more_output', function(){
$new_more = sprintf(
' ... <a title="%1$s" class="read-more" href="%2$s" aria-label="%4$s">%3$s</a>',
the_title_attribute( 'echo=0' ),
esc_url( get_permalink( get_the_ID() ) ),
__( 'Read more', 'generatepress' ),
sprintf(
/* translators: Aria-label describing the read more button */
_x( 'Read more on %s', 'more on post title', 'generatepress' ),
the_title_attribute( 'echo=0' )
)
);
return $new_more;
});
Adding PHP reference: https://docs.generatepress.com/article/adding-php/#code-snippets
Hope this helps! Kindly let us know how it goes.