Hello @vertigoooo
Actually,this excerpt more with link settings automatically applies from your active theme.
In order to fix this problem,Please add the below mentioned filter hook and callback function in your active child theme .
function pp_custom_excerpt_length($length) {
global $post;
// Set content length only of process posts
if ($post->post_type == 'process_posts' && !is_single()) {
//change it according to your requirement
return 100;
}
return $length;
}
add_filter('excerpt_length', 'pp_custom_excerpt_length', 999);
[ Signature deleted ]
-
This reply was modified 7 years ago by kiranpreet.
-
This reply was modified 7 years ago by kiranpreet. Reason: tag added
-
This reply was modified 6 years, 10 months ago by Jan Dembowski.