Если Вам необходимо заменить тест или же данную строку:
[...]
для текста описания (так же данный текст называют "короткая новость"). Примените код ниже:
/**
* Elementor как заменить [...] на звой вариант
* Replaces "[...]" (appended to automatically generated excerpts) with an ellipsis and "Read more".
*/
function isa_cpt_excerpt_more( $more ) {
global $post;
$anchor_text = '';
if ( 'portfolio' == $post->post_type ) {
$more = ' … ' . $anchor_text . '';
// $more = $anchor_text ;
}
return $more;
}
add_filter('excerpt_more', 'isa_cpt_excerpt_more');