I now noticed that this is due to the below code that I am using in order to convert the read more button to text:
if ( ! function_exists( ‘generate_custom_blog_excerpt_more’ ) ) :
/**
* Prints the read more HTML
*/
add_filter( ‘excerpt_more’, ‘generate_custom_blog_excerpt_more’, 100 );
add_filter( ‘the_content_more_link’, ‘generate_custom_blog_excerpt_more’, 100 );
function generate_custom_blog_excerpt_more( $more ) {
$generate_settings = wp_parse_args(
get_option( ‘generate_blog_settings’, array() ),
generate_blog_get_defaults()
);
return ‘
‘;
}
endif;