Recently, I was looking for a solution for extracting post text by defining the length of the string. WordPress offers two useful functions: the_content(): returns the full content of a post the_excerpt(): returns a fixed extracted text from a post, but no parameter option is provided. The idea is to write a better function that [...]