• 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 the rpwwt_the_excerpt filter and do the text trimming there as a workaround.

Viewing 1 replies (of 1 total)
  • Plugin Author Martin Stehle

    (@hinjiriyo)

    Yeah, that’s on purpose. Such text can also consist of HTML code. If the plugin would cut it off in the middle, then the HTML code would be semantically wrong, e.g. because a tag would not be closed. And that can break the design of the page.

    To prevent that the excerpt text is used “as is”.

Viewing 1 replies (of 1 total)
  • The topic ‘Excerpt can’t be limited’ is closed to new replies.