Remove "Leave a Reply" text. (7 posts)

  1. Kyle Stewart
    Posted 2 years ago #

    Hi! I would like to remove the Leave a Reply text, which is positioned below the title on every post. The link doesn't work, and is taking up space, that I would prefer to use for something else, if not at least turn it into empty space.

    I believe that the link isn't working because I am using disqus. I am using the twentytwelve theme (on a child theme). I want to keep getting comments, but remove the text.

  2. Aaron
    Posted 2 years ago #

    Can you post a link to your site? Might be able to do it the easy way with CSS

  3. Pioneer Valley Web Design
    Posted 2 years ago #

    You can turn comments off in settings>discussion and then go to each post and remove any that exist.

    Or, review where this is called in TwentyEleven (such as single.php or category.php or archive.php - might be all the above) and then create the same named templates in your child-theme and modify the comment php.

    Example from single.php:

    <?php comments_template( '', true ); ?>


  4. Aaron
    Posted 2 years ago #

    Think he wants just to remove that text. Not remove comments.

  5. mconnelly
    Posted 2 years ago #

    is there a way to deactivate the whole leave a reply box? i am very new to this and am still learning. i am using twenty twelve.

  6. Ashleigh100
    Posted 2 years ago #

    I'm useless - but I found clicking on pages > quick edit and then unticking allow comments made that bit go away. You have to do it for each page though. Sorry if that's not what you're on about :)

  7. motorbaby
    Posted 1 year ago #

    On a child theme in comments.php, add an array designation to <?php comment_form...:

    <?php comment_form(
    'title_reply' => __( ' ' ),
    ); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic