Set max title length – similar to excerpt length for outside of single.php
This depends 100% on how you’re getting the title. If you’re using a global object (i.e. $post->post_title then you’re not passing it through any filters and you’ll have to use some fancy post-processing to pare the title down. However, if you’re inside a post loop, use either the_title() to echo the current post’s title or … Read more