質問編集履歴

1

追記

2018/03/09 04:34

投稿

satoshickkk
satoshickkk

スコア53

test CHANGED
File without changes
test CHANGED
@@ -53,3 +53,55 @@
53
53
 
54
54
 
55
55
  お力をお貸しください、宜しくお願い致します。
56
+
57
+
58
+
59
+
60
+
61
+ ###3月9日追記
62
+
63
+ comments.php
64
+
65
+ ```
66
+
67
+ <div id="comment_area">
68
+
69
+ <?php $args = array(
70
+
71
+ 'title_reply' => 'Reply',
72
+
73
+ 'label_submit' => 'Submit',
74
+
75
+ 'fields' => array(
76
+
77
+ 'author' => '<p class="comment-form-author">' .
78
+
79
+ '<input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' placeholder="Name" /></p>',
80
+
81
+ 'email' => '<p class="comment-form-email">' .
82
+
83
+ '<input id="email" name="email" ' . ( $html5 ? 'type="email"' : 'type="text"' ) . ' value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . 'placeholder="Email" /></p>',
84
+
85
+ 'url' => '',
86
+
87
+ ),
88
+
89
+ 'comment_field' => '<p class="comment-form-comment mincho2">' . '<textarea id="comment" name="comment" cols="50" rows="6" aria-required="true"' . $aria_req . ' placeholder="Comment" /></textarea></p>',
90
+
91
+ );
92
+
93
+ comment_form( $args ); ?>
94
+
95
+ <?php if(have_comments()): ?>
96
+
97
+
98
+
99
+ <ol class="commets-list">
100
+
101
+ <?php wp_list_comments('callback=gtcn_basic_callback') ?>
102
+
103
+ </ol>
104
+
105
+ <?php endif; ?>
106
+
107
+ ```