Hello all,
One of my customers would like to truncate an excerpt of a blog by the number of words instead of characters. Is it possible to truncate a word count?
Hello all,
One of my customers would like to truncate an excerpt of a blog by the number of words instead of characters. Is it possible to truncate a word count?
You may be able to do this with a plugin or an automation, you would need to listen to the blog post Events.BeforeCreate event then set the Excerpt based on your code that uses the word count instead of the character count.
You may be able to do this with a plugin or an automation, you would need to listen to the blog post Events.BeforeCreate event then set the Excerpt based on your code that uses the word count instead of the character count.