Reply To: Read More Tag — How to display a text link?

#21000
morykwas
Participant

Thank you, sir, for your help.
Unfortunately those lines had no effect when I pasted them into functions.php.
Is there something else I can do?

function child_scripts_styles() {
    wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css', array() );
}
add_action( 'wp_enqueue_scripts', 'child_scripts_styles' );
add_filter( 'the_excerpt', 'pinboard_excerpt_read_more' );
 
function pinboard_excerpt_read_more( $excerpt ) {
    return str_replace( '', ' <a href="' . get_permalink() . '" rel="bookmark">Read More &rarr;</a>', $excerpt );
}