Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $comments_args = array(
- // 「コメントを残す」のタイトル文字部分を変更する
- 'title_reply'=>'<h4>コメントをどうぞ</h4>',
- // コメント投稿した人のお名前記入欄
- 'author' => '<p id="inputtext">' . '<label for="author">' . __( 'Name' ) . '</label> ' . ( $req ? '(必須)' : '' ) .
- '<br /><input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' /></p>',
- );
- comment_form($comments_args);//カスタマイズしたあと、php comment_form();に引数を渡す設定をする
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement