I have read that but that one works with the_content. I have found the_excerpt function in formatting.php. I know have a read more link but I cant seem to link it to the actual post. I took a look at how the title is linked to the post. And that works with permalink. So i tried this
array_push($words, ‘<link=”<?php the_permalink() ?>”>Lees meer</link>’);
But when I test this the text goes al freaky
https://www.iamdorien.nl/screen.jpg