function new_excerpt_more($more) {
return ‘… Read More‘;
}

add_filter(‘excerpt_more’, ‘new_excerpt_more’);

/*—–To edit the excerpt length—-*/

function new_excerpt_length($length) {
return 150;
}
add_filter(‘excerpt_length’, ‘new_excerpt_length’);

Advertisements