Hi there,
You can add the button like this:
add_filter( 'generate_content_more_link_output', 'tu_add_additional_excerpt_button' );
function tu_add_additional_excerpt_button( $button ) {
return sprintf(
'...<p class="read-more-container">
<a title="%1$s" class="button read-more content-read-more" href="%2$s">%3$s</a>
<a class="button download-more" href="%4$s">Download</a>
</p>',
the_title_attribute( 'echo=0' ),
esc_url( get_permalink( get_the_ID() ) . apply_filters( 'generate_more_jump','#more-' . get_the_ID() ) ),
__( 'Read more', 'generatepress' ),
esc_url( get_permalink( get_the_ID() ) . '#download' )
);
}
Adding PHP: https://docs.generatepress.com/article/adding-php/
Now on your single post, you’ll need to add your download button into a div like this:
<div id="download">
Download button in here
</div>