Excerpt can’t be limited
-
For the posts, the excerpt fields have been set (manual excerpt).
Maximal length for excerpts has been set for the recent posts widget.
However, the full post excerpt is always used instead of being trimmed to a limited amount of words.
According to the source of the plugin, the excerpt text trimming is only performed when the excerpt field of a post is actually empty, otherwise, the post excerpt is just used without any trimming:
if ( empty( $excerpt ) and ! $this->customs[ 'ignore_post_content_excerpt' ] ) {
Currently I have to use therpwwt_the_excerpt
filter and do the text trimming there as a workaround.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Excerpt can’t be limited’ is closed to new replies.