Manage a blog with multiple users? Use this snippet to set a maximum word count on your titles.
function maxWord($title){ global $post; $title = $post->post_title; if (str_word_count($title) >= 10 ) //set this to the maximum number of wordswp_die( __('Error: your post title is over the maximum word count.') ); } add_action('publish_post', 'maxWord');