Modify The Read More Link Text

Adding this code to your functions.php file enables you to customize the read more link text.

function modify_read_more_link() {
    return '<a class="more-link" href="' . get_permalink() . '">Your Read More Link Text</a>';
}
add_filter( 'the_content_more_link', 'modify_read_more_link' );

Cheers !!!

Leave a comment

Your email address will not be published. Required fields are marked *

Loading...