Figured something out, it kinda works. In functions.php I changed the function nisarg_new_excerpt_more() to (hardcoded Dutch texts):
function nisarg_new_excerpt_more( $more ) {
return '<p class="read-more"><a href="'. esc_url(get_permalink( get_the_ID() )) . '">' . 'lees verder »' . '<span class="screen-reader-text"> '. 'lees verder' .'</span></a></p>';
}
And in content-excerpt.php, I added nisarg_new_excerpt_more() after the the_excerpt() function call:
<?php the_excerpt();
echo nisarg_new_excerpt_more();
?>
Not pretty, but I haven’t done much coding lately. But it works, I now have read more links after excerpts. Also changed the CSS, so it is smaller and right aligned.
-
This reply was modified 8 years, 3 months ago by johanm.