Im like 99% done with my multisite.
The only thing left to do is to change the read more link on the child theme. But I can't get it done.
Main site (Dutch): www.jeroenbrugman.com 2nd site(english): www.jeroenbrugman.com/en/
I need to change the read more text on the 2nd site. But I can't get it done.
Main site functions.php code:
if ( !function_exists( 'modify_read_more_link' )) {
add_filter( 'the_content_more_link', 'modify_read_more_link' );
function modify_read_more_link() {
return '<a class="more-link" href="' . get_permalink() . '">Lees meer</a>';
}
}
2nd site functions.php code:
add_filter( 'the_content_more_link', 'modify_read_more_link' );
function modify_read_more_link() {
return '<a class="more-link" href="' . get_permalink() . '">Read more</a>';
}
But the 2nd site still shows 'Lees Meer' from the main site.. How can I get this to work?
Kind Regards
modify_read_more_link()
function (just for debugging)?