October 22, 2019 at 8:58 am
#69452
Keymaster
Hello Mohsin,
You only modify the excerpt length but not the excerpt more symbol, to remove the excerpt more symbol (…) use below function code.
function mytheme_custom_excerpt_more($more) {
if ( !is_admin() ) {
return '';
}
return '';
}
add_filter('excerpt_more', 'mytheme_custom_excerpt_more');
Thank you!