How to change expert more link label in WP?

// This link in excerpts more
function new_excerpt_more($more) {
global $post;
return ‘<a href=”‘. get_permalink($post->ID) . ‘”>Read More</a>’;
}
add_filter(‘excerpt_more’, ‘new_excerpt_more’);

Add above code in your functions.php.(This is file contain in your theme inside.)

What label you need, change the return href inside.

Leave a Reply

© 2020 Spirituality