Forums
Home / Fixing WordPress / Comments
(@scottkr24)
10 years, 2 months ago
I need to remove Comments are closed from my pages. I found this code in comments.php
‘<?php echo ‘<p class=”nocomments”>’ . __(‘Comments are closed.’, ‘theme1493’) . ‘</p>’; ?>’
To be sure I made a little change from Comments to Comment
‘<?php echo ‘<p class=”nocomments”>’ . __(‘Comment are closed.’, ‘theme1493’) . ‘</p>’; ?>’
and on the web page I saw Comment so I was sure that was it. Then I just commented out the whole thing
‘<!–?php echo ‘<p class=”nocomments”>’ . __(‘Comments are closed.’, ‘theme1493’) . ‘</p>’; ?–>’
Thinking it would remove Comments are closed.
But its still there. What am I doing wrong?
(@scottkr24)
10 years, 2 months ago
I need to remove Comments are closed from my pages. I found this code in comments.php
‘<?php echo ‘<p class=”nocomments”>’ . __(‘Comments are closed.’, ‘theme1493’) . ‘</p>’; ?>’
To be sure I made a little change from Comments to Comment
‘<?php echo ‘<p class=”nocomments”>’ . __(‘Comment are closed.’, ‘theme1493’) . ‘</p>’; ?>’
and on the web page I saw Comment so I was sure that was it. Then I just commented out the whole thing
‘<!–?php echo ‘<p class=”nocomments”>’ . __(‘Comments are closed.’, ‘theme1493’) . ‘</p>’; ?–>’
Thinking it would remove Comments are closed.
But its still there. What am I doing wrong?