まずは function.php へコードを挿入 やり方とても簡単です!まずはテーマの中の「function.php」に以下のコードを追記してアップロードします。 /* 投稿画面のタイトルに文字カウンター */ function excerpt_count_js(){ echo '<script>jQuery(document).ready(function(){ jQuery("#titlewrap").after("<div style=\"position:absolute;top:5px;right:5px;color:#666;\"><small>文字数: </small><input type=\"text\" value=\"0\" maxlength=\"3\" size=\"3\" id=\"title_counter\" readonly=\"\" style=\"ba
