Support » Fixing WordPress » Remove "Leave a Reply" text.

  • 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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Can you post a link to your site? Might be able to do it the easy way with CSS

    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 ); ?>

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

    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.

    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 🙂

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

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Remove "Leave a Reply" text.’ is closed to new replies.