By default when you insert ‘More’ block, it will insert a link to blog page URL with text ‘Read more’. In some cases you may want to change that text to something else i.e. ‘Learn more’. Here is how it can be done:
1. Login to your WordPress Admin Panel
2. Navigate to Left Menu -> Appearance -> Theme File Editor
3. Open YourTheme/functions.php file for edit
4. Scroll to the end of the file and above last occurrence of ‘?>’ insert the following code:
function tishonator_change_read_more_link() {
return '<a class="more-link" href="' . get_permalink() . '">Learn More</a>';
}
add_filter( 'the_content_more_link', 'tishonator_change_read_more_link' );
* You can change ‘Learn More’ to some other text
5. Save changes
Thanks. This works great!