• how do I remove it?
    I’m using Twenty Ten Inverted 1.0

    In the “discussions” tab of the Settings menu, I have the radio box for “Allow people to post comments on new articles.” unchecked.

    The link still appears on each post, but comments are not enabled,
    So where do I go to edit and remove it?

    thank you so much ;o

Viewing 7 replies - 1 through 7 (of 7 total)
  • open theme’sloop.php and find this line and remove it or comment it out
    <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>

    always back up 1st

    Thread Starter mad1digital

    (@mad1digital)

    thank you for your help, Samuel – I removed that code, but the links

    “Posted in Uncategorized | Leave a comment”

    are still appearing on every post on the home page of the blog,
    located here : Cinnamon Rainbows

    what next? thank you

    Thanks Samuel.

    mad1: I removed this line too:

    <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>

    And it went.

    Hello,

    I can’t seem to find

    <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>

    in the loop.php file. I’m using latest WP 3.1.3. Any idea? Thanks in advance.

    I mean I removed the three instances of that piece of code. However, now I get…

    Published in Whatevercategory |

    Any ideas on how to remove the | character forever? ?? Thanks.

    Don’t know if I went too far but…

    removing abovementioned code in lines 99, 122, 164

    plus all instances of:

    <span class="meta-sep">|</span>

    in lines 94, 97, 121, 153, 162

    has worked! ??

    Samuel B – thanks for your help on this. My site (https://www.HDHPexpert.com) does not have a loop.php file but I do have a solution for others who may be interested.

    My current theme: Tutorialicious by Anonymous.

    In my excerpt.php file, there is the following line of code:

    <div class="excerpt_but">
    		<?php comments_popup_link('Questions/Comments?', '1 Comment', '% Comments'); ?>
    		</div>

    By using <!– and –> on each side of the three lines of code above I have hidden this code and POOF, the comments link and button is gone.

    I hope someone finds this helpful, as I have been trying to remove the comments link from my website for months.

    [signature moderated per forum rules]

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘remove the "leave a comment" link / Twenty Ten Inverted 1.0’ is closed to new replies.