wordpress snippets

Modify the Read More in WordPress

Last modified: August 27, 2018

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

Add to functions.php and change the “Read more” to whatever you want…

Save 4 Later
Email these links to yourself