You should have a comments_popup_link in your index.php, you can remove the call, and in single.php and possible page.php remove the comments_template call
There is no comments_popup_link in the index.php
<div id="content-container">
<div id="content" role="main">
<?php get_template_part( 'loop', 'index' ); ?>
</div><!-- #content -->
</div><!-- #content-container -->
I did find this in the loop.php:
</div><!-- .entry-content -->
<div class="entry-info">
<span class="comments-link"><?php comments_popup_link( __( '→ Leave a comment', 'coraline' ), __( '→ 1 Comment', 'coraline' ), __( '→ % Comments', 'coraline' ) ); ?></span>
What portion of this code should be removed?
As I’m not familiar with the theme, I can’t be totally sure which portions affect the layout. Start by just commenting out the span, like this:
<!-- <span class="comments-link"><?php comments_popup_link( __( '→ Leave a comment', 'coraline' ), __( '→ 1 Comment', 'coraline' ), __( '→ % Comments', 'coraline' ) ); ?></span> -->
See if that messes up your layout any
RESOLVED:
By removing this code 4 times from the loop.php file the “comments off” text was deleted:
<span class="comments-link"><?php comments_popup_link( __( '→ Leave a comment', 'coraline' ), __( '→ 1 Comment', 'coraline' ), __( '→ % Comments', 'coraline' ) ); ?></span>
I tried removing individual lines, but it only worked after taking out all for instances.
Thanks for your help.
thanks scottosan, perfect
(@scottosan)
13 years, 2 months ago
I am not using comments on this site:
http://plmbar.com/wp/
How do I remove the “comments off” text that appears below a post title after the date, and also at the end of the post?
This site uses the Coraline 1.0.2 theme.
Thank you.