質問編集履歴

3

header.phpのソースを追記します。

2019/08/30 23:53

投稿

shinkus
shinkus

スコア7

test CHANGED
File without changes
test CHANGED
@@ -78,9 +78,9 @@
78
78
 
79
79
 
80
80
 
81
- ### header.php
81
+ ### header.phpのソース
82
-
82
+
83
- ```
83
+ ```html
84
84
 
85
85
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
86
86
 

2

header.phpのソースを追記します。

2019/08/30 23:53

投稿

shinkus
shinkus

スコア7

test CHANGED
File without changes
test CHANGED
@@ -78,290 +78,190 @@
78
78
 
79
79
 
80
80
 
81
- ### function.php
82
-
83
- ```
84
-
85
- <?php
86
-
87
-
88
-
89
-
90
-
91
- // ����t�@�C���̓ǂݍ���
92
-
93
- load_textdomain('neutral', dirname(__FILE__).'/languages/' . get_locale() . '.mo');
94
-
95
-
96
-
97
-
98
-
99
-
100
-
101
-
102
-
103
- //���S�摜�p�֐�
104
-
105
- get_template_part('functions/header-logo');
106
-
107
-
108
-
109
-
110
-
111
- // �X�^�C���V�[�g�̓ǂݍ���
112
-
113
- add_action('admin_print_styles', 'my_admin_CSS');
114
-
115
- function my_admin_CSS() {
116
-
117
- wp_enqueue_style('myAdminCSS', get_bloginfo('stylesheet_directory').'/admin/my_admin.css');
118
-
119
- };
120
-
121
-
122
-
123
-
124
-
125
- // �y�[�W�i�r�p
126
-
127
- function show_posts_nav() {
128
-
129
- global $wp_query;
130
-
131
- return ($wp_query->max_num_pages > 1);
132
-
133
- };
134
-
135
-
136
-
137
-
138
-
139
- // �J�X�^�����j���[�̐ݒ�
140
-
141
- if(function_exists('register_nav_menu')) {
142
-
143
- register_nav_menu( 'header-menu', __( 'Header menu', 'neutral' ) );
144
-
145
- }
146
-
147
-
148
-
149
-
150
-
151
-
152
-
153
- // Sidebar widget
154
-
155
- if ( function_exists('register_sidebar') ) {
156
-
157
- register_sidebar(array(
158
-
159
- 'before_widget' => '<div class="side_box %2$s" id="%1$s">'."\n",
160
-
161
- 'after_widget' => "</div>\n",
162
-
163
- 'before_title' => '<h3 class="side_title">',
164
-
165
- 'after_title' => "</h3>\n",
166
-
167
- 'name' => __('Side top', 'neutral'),
168
-
169
- 'id' => 'top'
170
-
171
- ));
172
-
173
- register_sidebar(array(
174
-
175
- 'before_widget' => '<div class="side_box_short %2$s" id="%1$s">'."\n",
176
-
177
- 'after_widget' => "</div>\n",
178
-
179
- 'before_title' => '<h3 class="side_title">',
180
-
181
- 'after_title' => "</h3>\n",
182
-
183
- 'name' => __('Side middle left', 'neutral'),
184
-
185
- 'id' => 'left'
186
-
187
- ));
188
-
189
- register_sidebar(array(
190
-
191
- 'before_widget' => '<div class="side_box_short %2$s" id="%1$s">'."\n",
192
-
193
- 'after_widget' => "</div>\n",
194
-
195
- 'before_title' => '<h3 class="side_title">',
196
-
197
- 'after_title' => "</h3>\n",
198
-
199
- 'name' => __('Side middle right', 'neutral'),
200
-
201
- 'id' => 'right'
202
-
203
- ));
204
-
205
- register_sidebar(array(
206
-
207
- 'before_widget' => '<div class="side_box %2$s" id="%1$s">'."\n",
208
-
209
- 'after_widget' => "</div>\n",
210
-
211
- 'before_title' => '<h3 class="side_title">',
212
-
213
- 'after_title' => "</h3>\n",
214
-
215
- 'name' => __('Side bottom', 'neutral'),
216
-
217
- 'id' => 'bottom'
218
-
219
- ));
220
-
221
- }
222
-
223
-
224
-
225
- // Original custom comments function is written by mg12 - http://www.neoease.com/
226
-
227
-
228
-
229
- if (function_exists('wp_list_comments')) {
230
-
231
- // comment count
232
-
233
- add_filter('get_comments_number', 'comment_count', 0);
234
-
235
- function comment_count( $commentcount ) {
236
-
237
- global $id;
238
-
239
- $_commnets = get_comments('post_id=' . $id);
240
-
241
- $comments_by_type = &separate_comments($_commnets);
242
-
243
- return count($comments_by_type['comment']);
244
-
245
- }
246
-
247
- }
248
-
249
-
250
-
251
-
252
-
253
- function custom_comments($comment, $args, $depth) {
254
-
255
- $GLOBALS['comment'] = $comment;
256
-
257
- global $commentcount;
258
-
259
- if(!$commentcount) {
260
-
261
- $commentcount = 0;
262
-
263
- }
264
-
265
- ?>
266
-
267
-
268
-
269
- <li class="comment <?php if($comment->comment_author_email == get_the_author_meta('email')) {echo 'admin-comment';} else {echo 'guest-comment';} ?>" id="comment-<?php comment_ID() ?>">
270
-
271
- <div class="comment-meta">
272
-
273
- <div class="comment-meta-left">
274
-
275
- <?php if (function_exists('get_avatar') && get_option('show_avatars')) { echo get_avatar($comment, 35); } ?>
81
+ ### header.php
82
+
83
+ ```
84
+
85
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
86
+
87
+ <html xmlns="http://www.w3.org/1999/xhtml">
88
+
89
+ <head profile="http://gmpg.org/xfn/11">
90
+
91
+ <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
92
+
93
+
94
+
95
+ <title><?php
96
+
97
+ global $page, $paged; wp_title( '|', true, 'right' ); bloginfo( 'name' );
98
+
99
+ $site_description = get_bloginfo( 'description', 'display' ); if ( $site_description && ( is_home() || is_front_page() ) ) echo " | $site_description";
100
+
101
+ if ( $paged >= 2 || $page >= 2 ) echo ' | ' . sprintf( __( 'Page %s', 'neutral' ), max( $paged, $page ) );
102
+
103
+ ?></title>
104
+
105
+ <meta name="description" content="<?php echo bloginfo('description'); ?>" />
106
+
107
+
108
+
109
+ <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
110
+
111
+ <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
112
+
113
+ <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
114
+
115
+
116
+
117
+ <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" />
118
+
119
+ <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/comment-style.css" type="text/css" />
120
+
121
+ <?php if (strtoupper(get_locale()) == 'JA'): ?>
122
+
123
+ <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/japanese.css" type="text/css" />
124
+
125
+ <?php endif; ?>
126
+
127
+
128
+
129
+ <?php wp_enqueue_script( 'jquery' ); ?>
130
+
131
+ <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
132
+
133
+ <?php wp_head(); ?>
134
+
135
+
136
+
137
+ <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/scroll.js"></script>
138
+
139
+ <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jscript.js"></script>
140
+
141
+ <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/comment.js"></script>
142
+
143
+
144
+
145
+ <!--[if IE 7]>
146
+
147
+ <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/ie7.js"></script>
148
+
149
+ <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/ie7.css" type="text/css" />
150
+
151
+ <![endif]-->
152
+
153
+
154
+
155
+ <?php $options = get_neutral_option(); ?>
156
+
157
+
158
+
159
+ </head>
160
+
161
+ <body class="default<?php if(is_page_template('page-noside.php')||is_page_template('page-noside-nocomment.php')||$options['layout'] == 'noside') { echo ' no_side'; }; if (!$options['show_category'] and !$options['show_tag'] and !$options['show_comment']) { echo ' no_postmeta'; }; if (!$options['show_date'] and !$options['show_author']) { echo ' no_postinfo'; }; ?>">
162
+
163
+
164
+
165
+ <div id="wrapper">
166
+
167
+
168
+
169
+ <div id="<?php if (has_nav_menu('header-menu')) { echo "header"; } else { echo "header2"; }; ?>">
170
+
171
+
172
+
173
+ <!-- logo -->
174
+
175
+ <div id="logo">
176
+
177
+ <?php the_dp_logo(); ?>
178
+
179
+ </div>
276
180
 
277
181
 
278
182
 
279
- <ul class="comment-name-date">
280
-
281
- <li class="comment-name">
282
-
283
- <?php if (get_comment_author_url()) : ?>
284
-
285
- <a id="commentauthor-<?php comment_ID() ?>" class="url <?php if($comment->comment_author_email == get_the_author_meta('email')) {echo 'admin-url';} else {echo 'guest-url';} ?>" href="<?php comment_author_url() ?>" rel="external nofollow">
286
-
287
- <?php else : ?>
288
-
289
- <span id="commentauthor-<?php comment_ID() ?>">
290
-
291
- <?php endif; ?>
292
-
293
-
294
-
295
- <?php comment_author(); ?>
296
-
297
-
298
-
299
- <?php if(get_comment_author_url()) : ?>
300
-
301
- </a>
302
-
303
- <?php else : ?>
304
-
305
- </span>
306
-
307
- <?php endif; $options = get_neutral_option(); ?>
308
-
309
- </li>
310
-
311
- <li class="comment-date"><?php echo get_comment_time(__('M jS. Y', 'neutral')); if ($options['show_comment_time']) : echo get_comment_time(__(' g:ia', 'neutral')); endif; ?></li>
312
-
313
- </ul>
183
+ <div id="header_meta">
184
+
185
+ <?php if ($options['show_search']) { ?>
186
+
187
+ <div id="header_search_area"<?php if (!$options['show_rss']&&!$options['twitter_url']) : echo ' style="margin-right:0;"'; endif; ?>>
188
+
189
+ <?php if ($options['custom_search_id']) : ?>
190
+
191
+ <form action="http://www.google.com/cse" method="get" id="searchform">
192
+
193
+ <div>
194
+
195
+ <input id="search_input" type="text" value="<?php _e('SEARCH','neutral'); ?>" name="q" onfocus="if (this.value == '<?php _e('SEARCH','neutral'); ?>') this.value = '';" onblur="if (this.value == '') this.value = '<?php _e('SEARCH','neutral'); ?>';" />
196
+
197
+ </div>
198
+
199
+ <div>
200
+
201
+ <input type="image" src="<?php bloginfo('template_url'); ?>/img/search_button.gif" name="sa" alt="<?php _e('Search from this blog.','neutral'); ?>" title="<?php _e('Search from this blog.','neutral'); ?>" id="search_button" />
202
+
203
+ <input type="hidden" name="cx" value="<?php echo $options['custom_search_id']; ?>" />
204
+
205
+ <input type="hidden" name="ie" value="UTF-8" />
206
+
207
+ </div>
208
+
209
+ </form>
210
+
211
+ <?php else: ?>
212
+
213
+ <form method="get" id="searchform" action="<?php echo esc_url(home_url('/')); ?>">
214
+
215
+ <div><input id="search_input" type="text" value="<?php _e('SEARCH','neutral'); ?>" name="s" onfocus="if (this.value == '<?php _e('SEARCH','neutral'); ?>') this.value = '';" onblur="if (this.value == '') this.value = '<?php _e('SEARCH','neutral'); ?>';" /></div>
216
+
217
+ <div><input type="image" src="<?php bloginfo('template_url'); ?>/img/search_button.gif" alt="<?php _e('Search from this blog.','neutral'); ?>" title="<?php _e('Search from this blog.','neutral'); ?>" id="search_button" /></div>
218
+
219
+ </form>
220
+
221
+ <?php endif; ?>
314
222
 
315
223
  </div>
316
224
 
317
-
318
-
319
- <ul class="comment-act">
320
-
321
- <?php if (function_exists('comment_reply_link')) {
322
-
323
- if ( get_option('thread_comments') == '1' ) { ?>
324
-
325
- <li class="comment-reply"><?php comment_reply_link(array_merge( $args, array('add_below' => 'comment-content', 'depth' => $depth, 'max_depth' => $args['max_depth'], 'reply_text' => '<span><span>'.__('REPLY','neutral').'</span></span>'))) ?></li>
326
-
327
- <?php } else { ?>
328
-
329
- <li class="comment-reply"><a href="javascript:void(0);" onclick="MGJS_CMT.reply('commentauthor-<?php comment_ID() ?>', 'comment-<?php comment_ID() ?>', 'comment');"><?php _e('REPLY', 'neutral'); ?></a></li>
330
-
331
- <?php }
332
-
333
- } else { ?>
334
-
335
- <li class="comment-reply"><a href="javascript:void(0);" onclick="MGJS_CMT.reply('commentauthor-<?php comment_ID() ?>', 'comment-<?php comment_ID() ?>', 'comment');"><?php _e('REPLY', 'neutral'); ?></a></li>
336
-
337
- <?php } ?>
338
-
339
- <li class="comment-quote"><a href="javascript:void(0);" onclick="MGJS_CMT.quote('commentauthor-<?php comment_ID() ?>', 'comment-<?php comment_ID() ?>', 'comment-content-<?php comment_ID() ?>', 'comment');"><?php _e('QUOTE', 'neutral'); ?></a></li>
340
-
341
- <?php edit_comment_link(__('EDIT', 'neutral'), '<li class="comment-edit">', '</li>'); ?>
342
-
343
- </ul>
344
-
345
-
225
+ <?php }; ?>
226
+
227
+ <?php if ($options['show_rss']) : ?>
228
+
229
+ <a href="<?php bloginfo('rss2_url'); ?>" class="target_blank" id="header_rss" title="<?php _e('RSS','neutral'); ?>" ><?php _e('RSS','neutral'); ?></a>
230
+
231
+ <?php endif; ?>
232
+
233
+ <?php if ($options['twitter_url']) : ?>
234
+
235
+ <a href="<?php echo $options['twitter_url']; ?>" class="target_blank" id="header_twitter" title="<?php _e('Twitter','neutral'); ?>" ><?php _e('Twitter','neutral'); ?></a>
236
+
237
+ <?php endif; ?>
238
+
239
+ <?php if ($options['facebook_url']) : ?>
240
+
241
+ <a href="<?php echo $options['facebook_url']; ?>" class="target_blank" id="header_facebook" title="<?php _e('Facebook','neutral'); ?>" ><?php _e('Facebook','neutral'); ?></a>
242
+
243
+ <?php endif; ?>
244
+
245
+ </div><!-- END #header_meta -->
246
+
247
+
248
+
249
+ <?php if (has_nav_menu('header-menu')) { ?>
250
+
251
+ <div class="header_menu">
252
+
253
+ <?php wp_nav_menu( array( 'sort_column' => 'menu_order', 'theme_location' => 'header-menu' , 'container' => '' ) ); ?>
346
254
 
347
255
  </div>
348
256
 
349
- <div class="comment-content" id="comment-content-<?php comment_ID() ?>">
350
-
351
- <?php if ($comment->comment_approved == '0') : ?>
352
-
353
- <span class="comment-note"><?php _e('Your comment is awaiting moderation.', 'neutral'); ?></span>
354
-
355
- <?php endif; ?>
257
+ <?php } else { ?>
356
-
258
+
357
- <?php comment_text(); ?>
259
+ <div class="no_header_menu"></div>
358
-
359
- </div>
260
+
360
-
361
-
362
-
363
- <?php } ?>
261
+ <?php }; ?>
262
+
263
+
264
+
364
-
265
+ </div><!-- END #header -->
365
-
366
-
266
+
367
- ```
267
+ ```

1

function.phpのソースを添付します。

2019/08/30 23:51

投稿

shinkus
shinkus

スコア7

test CHANGED
File without changes
test CHANGED
@@ -75,3 +75,293 @@
75
75
  0. 先のテーマ配布者からのソースを消す際、header.phpの36行目の表記がおかしいとWPからメッセージが出てウェブ上での更新ができなかったため、FTP経由でソースを書き換えました。
76
76
 
77
77
  一旦解決したように思えたので、その際のエラーメッセージが不明です。
78
+
79
+
80
+
81
+ ### function.php
82
+
83
+ ```
84
+
85
+ <?php
86
+
87
+
88
+
89
+
90
+
91
+ // ����t�@�C���̓ǂݍ���
92
+
93
+ load_textdomain('neutral', dirname(__FILE__).'/languages/' . get_locale() . '.mo');
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+ //���S�摜�p�֐�
104
+
105
+ get_template_part('functions/header-logo');
106
+
107
+
108
+
109
+
110
+
111
+ // �X�^�C���V�[�g�̓ǂݍ���
112
+
113
+ add_action('admin_print_styles', 'my_admin_CSS');
114
+
115
+ function my_admin_CSS() {
116
+
117
+ wp_enqueue_style('myAdminCSS', get_bloginfo('stylesheet_directory').'/admin/my_admin.css');
118
+
119
+ };
120
+
121
+
122
+
123
+
124
+
125
+ // �y�[�W�i�r�p
126
+
127
+ function show_posts_nav() {
128
+
129
+ global $wp_query;
130
+
131
+ return ($wp_query->max_num_pages > 1);
132
+
133
+ };
134
+
135
+
136
+
137
+
138
+
139
+ // �J�X�^�����j���[�̐ݒ�
140
+
141
+ if(function_exists('register_nav_menu')) {
142
+
143
+ register_nav_menu( 'header-menu', __( 'Header menu', 'neutral' ) );
144
+
145
+ }
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+ // Sidebar widget
154
+
155
+ if ( function_exists('register_sidebar') ) {
156
+
157
+ register_sidebar(array(
158
+
159
+ 'before_widget' => '<div class="side_box %2$s" id="%1$s">'."\n",
160
+
161
+ 'after_widget' => "</div>\n",
162
+
163
+ 'before_title' => '<h3 class="side_title">',
164
+
165
+ 'after_title' => "</h3>\n",
166
+
167
+ 'name' => __('Side top', 'neutral'),
168
+
169
+ 'id' => 'top'
170
+
171
+ ));
172
+
173
+ register_sidebar(array(
174
+
175
+ 'before_widget' => '<div class="side_box_short %2$s" id="%1$s">'."\n",
176
+
177
+ 'after_widget' => "</div>\n",
178
+
179
+ 'before_title' => '<h3 class="side_title">',
180
+
181
+ 'after_title' => "</h3>\n",
182
+
183
+ 'name' => __('Side middle left', 'neutral'),
184
+
185
+ 'id' => 'left'
186
+
187
+ ));
188
+
189
+ register_sidebar(array(
190
+
191
+ 'before_widget' => '<div class="side_box_short %2$s" id="%1$s">'."\n",
192
+
193
+ 'after_widget' => "</div>\n",
194
+
195
+ 'before_title' => '<h3 class="side_title">',
196
+
197
+ 'after_title' => "</h3>\n",
198
+
199
+ 'name' => __('Side middle right', 'neutral'),
200
+
201
+ 'id' => 'right'
202
+
203
+ ));
204
+
205
+ register_sidebar(array(
206
+
207
+ 'before_widget' => '<div class="side_box %2$s" id="%1$s">'."\n",
208
+
209
+ 'after_widget' => "</div>\n",
210
+
211
+ 'before_title' => '<h3 class="side_title">',
212
+
213
+ 'after_title' => "</h3>\n",
214
+
215
+ 'name' => __('Side bottom', 'neutral'),
216
+
217
+ 'id' => 'bottom'
218
+
219
+ ));
220
+
221
+ }
222
+
223
+
224
+
225
+ // Original custom comments function is written by mg12 - http://www.neoease.com/
226
+
227
+
228
+
229
+ if (function_exists('wp_list_comments')) {
230
+
231
+ // comment count
232
+
233
+ add_filter('get_comments_number', 'comment_count', 0);
234
+
235
+ function comment_count( $commentcount ) {
236
+
237
+ global $id;
238
+
239
+ $_commnets = get_comments('post_id=' . $id);
240
+
241
+ $comments_by_type = &separate_comments($_commnets);
242
+
243
+ return count($comments_by_type['comment']);
244
+
245
+ }
246
+
247
+ }
248
+
249
+
250
+
251
+
252
+
253
+ function custom_comments($comment, $args, $depth) {
254
+
255
+ $GLOBALS['comment'] = $comment;
256
+
257
+ global $commentcount;
258
+
259
+ if(!$commentcount) {
260
+
261
+ $commentcount = 0;
262
+
263
+ }
264
+
265
+ ?>
266
+
267
+
268
+
269
+ <li class="comment <?php if($comment->comment_author_email == get_the_author_meta('email')) {echo 'admin-comment';} else {echo 'guest-comment';} ?>" id="comment-<?php comment_ID() ?>">
270
+
271
+ <div class="comment-meta">
272
+
273
+ <div class="comment-meta-left">
274
+
275
+ <?php if (function_exists('get_avatar') && get_option('show_avatars')) { echo get_avatar($comment, 35); } ?>
276
+
277
+
278
+
279
+ <ul class="comment-name-date">
280
+
281
+ <li class="comment-name">
282
+
283
+ <?php if (get_comment_author_url()) : ?>
284
+
285
+ <a id="commentauthor-<?php comment_ID() ?>" class="url <?php if($comment->comment_author_email == get_the_author_meta('email')) {echo 'admin-url';} else {echo 'guest-url';} ?>" href="<?php comment_author_url() ?>" rel="external nofollow">
286
+
287
+ <?php else : ?>
288
+
289
+ <span id="commentauthor-<?php comment_ID() ?>">
290
+
291
+ <?php endif; ?>
292
+
293
+
294
+
295
+ <?php comment_author(); ?>
296
+
297
+
298
+
299
+ <?php if(get_comment_author_url()) : ?>
300
+
301
+ </a>
302
+
303
+ <?php else : ?>
304
+
305
+ </span>
306
+
307
+ <?php endif; $options = get_neutral_option(); ?>
308
+
309
+ </li>
310
+
311
+ <li class="comment-date"><?php echo get_comment_time(__('M jS. Y', 'neutral')); if ($options['show_comment_time']) : echo get_comment_time(__(' g:ia', 'neutral')); endif; ?></li>
312
+
313
+ </ul>
314
+
315
+ </div>
316
+
317
+
318
+
319
+ <ul class="comment-act">
320
+
321
+ <?php if (function_exists('comment_reply_link')) {
322
+
323
+ if ( get_option('thread_comments') == '1' ) { ?>
324
+
325
+ <li class="comment-reply"><?php comment_reply_link(array_merge( $args, array('add_below' => 'comment-content', 'depth' => $depth, 'max_depth' => $args['max_depth'], 'reply_text' => '<span><span>'.__('REPLY','neutral').'</span></span>'))) ?></li>
326
+
327
+ <?php } else { ?>
328
+
329
+ <li class="comment-reply"><a href="javascript:void(0);" onclick="MGJS_CMT.reply('commentauthor-<?php comment_ID() ?>', 'comment-<?php comment_ID() ?>', 'comment');"><?php _e('REPLY', 'neutral'); ?></a></li>
330
+
331
+ <?php }
332
+
333
+ } else { ?>
334
+
335
+ <li class="comment-reply"><a href="javascript:void(0);" onclick="MGJS_CMT.reply('commentauthor-<?php comment_ID() ?>', 'comment-<?php comment_ID() ?>', 'comment');"><?php _e('REPLY', 'neutral'); ?></a></li>
336
+
337
+ <?php } ?>
338
+
339
+ <li class="comment-quote"><a href="javascript:void(0);" onclick="MGJS_CMT.quote('commentauthor-<?php comment_ID() ?>', 'comment-<?php comment_ID() ?>', 'comment-content-<?php comment_ID() ?>', 'comment');"><?php _e('QUOTE', 'neutral'); ?></a></li>
340
+
341
+ <?php edit_comment_link(__('EDIT', 'neutral'), '<li class="comment-edit">', '</li>'); ?>
342
+
343
+ </ul>
344
+
345
+
346
+
347
+ </div>
348
+
349
+ <div class="comment-content" id="comment-content-<?php comment_ID() ?>">
350
+
351
+ <?php if ($comment->comment_approved == '0') : ?>
352
+
353
+ <span class="comment-note"><?php _e('Your comment is awaiting moderation.', 'neutral'); ?></span>
354
+
355
+ <?php endif; ?>
356
+
357
+ <?php comment_text(); ?>
358
+
359
+ </div>
360
+
361
+
362
+
363
+ <?php } ?>
364
+
365
+
366
+
367
+ ```