WordPress.org

Ready to get started?Download WordPress

Forums

Syndicate Press
[resolved] Feature Request: truncate at whole-word boundaries (3 posts)

  1. slimandslam
    Member
    Posted 1 year ago #

    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/

  2. SP developer
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks,
    I'll put this on the todo list.

    Best regards,
    SP Developer

  3. SP developer
    Member
    Plugin Author

    Posted 1 year ago #

    Hi slimandslam,
    I have delivered this fix into the latest version, 1.0.19.

    Best Regards,
    SP Developer

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic