WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Feature Request: truncate at whole-word boundaries

[Resolved] Feature Request: truncate at whole-word boundaries

  • Add a checkbox to the “Limit article to” and “Limit article headline to” settings that says something like “truncate on whole word boundaries”. So, checking that box will truncate at “less than or equal” to the number listed but only truncates on whole word boundaries. So, for example, if the text at the 300 character limit is in the middle of the word “addition”:

    “Elvin Jones, who played with John Coltrane in addition to many others.”

    Instead of this truncation:

    “Elvin Jones, who played with John Coltrane in addit…”

    You would truncate at the nearest word boundary:

    “Elvin Jones, who played with John Coltrane in…”

    J

    http://wordpress.org/extend/plugins/syndicate-press/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Feature Request: truncate at whole-word boundaries’ is closed to new replies.