askdesign
6/8/2016 - 7:32 PM

Read More Link edit - wpStudio

Read More Link edit - wpStudio

<?php
//* This new snippet changes the read-more link and retains the accessibility support. So, those who use a screen reader will hear ‘Continue reading about ‘the post title‘.

//* Do NOT include the opening php tag shown above. Copy the code shown below.

//* Modify the Genesis content read more link
add_filter( 'get_the_content_more_link', 'wps_read_more_link' );
add_filter( 'the_content_more_link', 'wps_read_more_link' );
function wps_read_more_link($more) {

    $read_more_title = sprintf( '<span class="screen-reader-text">%s %s</span>', __( 'about ', 'seasons' ), get_the_title() );
    return sprintf( ' ... <a href="%s" class="more-link">%s %s</a>', get_permalink(), __( 'Continue Reading', 'seasons' ), $read_more_title );

}