WordPress.org

Support

Support » How-To and Troubleshooting » Reply image not to show when threaded comments cannot nest anymore?

Reply image not to show when threaded comments cannot nest anymore?

  • I’m making an image where this image is around the reply image, however, when threaded comments can’t be nested anymore, the “reply” text goes away, but the image stays. How can I get the image to go away when the “reply” text disappears because the threaded comments can’t show anymore?

    Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Is there anyway I could do this like CSS, or PHP or something like that? D:

    Is there anyway I could do this like CSS, or PHP or something like that?

    difficult to tell without seeing what html and css are present in the comments.

    a link to your site, pointing to a post with comments and with this problem, might help to get you more replies.

    http://test.berrybellebee.co.cc/?p=1

    Here, and do you need coding from my CSS etc? But you could view the source if needed too. And there’s a test post by “Nina”, and threaded comments couldn’t nest anymore but yet the image is still displayed but not “reply” button.

    try to add this to style.css of your theme (either near the comment styles, or at the end):

    .depth-5 .reply { display:none;}

    (not widely tested)

    Thanks, it worked.

    Hm, I’m actually running into problems again. When I close comments, the reply button goes away, but the image stays. Any solution?

    esmi

    @esmi

    Forum Moderator

    Try placing the whole <div class=comments">[...]</div> block inside a <?php if ('open' == $post->comment_status) : ?>[...]<?php endif;?> conditional.

    Sorry, I’m a newbie when it comes to theme design, somewhat. Where would I insert that…?

    esmi

    @esmi

    Forum Moderator

    From what I can see, try looking in your theme’s single.php or comments.php files.

    Thanks, I don’t really get it but thanks for trying. 🙂

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Reply image not to show when threaded comments cannot nest anymore?’ is closed to new replies.
Skip to toolbar