Limits WordPress post title characters.
<?php function ccd_limit_title_chars() { ?> <script>jQuery( 'input#title' ).attr( 'maxlength', 36 );</script> <?php } add_action( 'admin_footer', 'ccd_limit_title_chars' ); ?>
WordPress Snippet