Limiting WordPress title lengths
I love that I can still learn new little features about a system I’ve been developing for, for almost 10 years.
WordPress has a nifty little function, wp_trim_words() which does as you might expect: trim’s a specified string to a set number of…