Yoast Shorten Breadcrumbs

We use the Yoast SEO plugin a lot. Because we already use their SEO features we also use their breadcrumb option, it is pretty nice.

Anyway, Sometimes a client will have titles that are too long. I am talking, like, way too long. Anyway, these long titles can wreak havoc on our breadcrumbs. We need to find a way to shorten these titles to something more reasonable. Here we go!

There we go! Now all of our titles will be shortened to 24 characters + an ellipses.