Add a maximal post title word count

You can use this snippet for limiting the post title words. Paste it into your functions.php file.

Other relevant snippets: