• I translated the theme to Swedish and found the word Comments closed, then I looked at the comments.php and found this:

    <?php // If comments are closed and there are comments, let's leave a little note, shall we?
    if ( ! comments_open() && '0' != get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) :
    ?>
    <p class="nocomments"><?php _e( 'Comments are closed.', 'catch-kathmandu' ); ?></p>
    <?php endif; ?>

    But when I disable comments I don’t see any text that says “Comments closed” why?

Viewing 1 replies (of 1 total)
  • Hello,
    The code you pasted works only if the post previously had comments. If a post had comments enabled at first and a user commented on the post, then after that if you disable the comment section, you will get the old comment and below the comment you will get the message “Comments are closed”.

    Hope you understood.

    For swift response please visit the themes official forum
    https://catchthemes.com/support-forum/forum/catch-kathmandu-public/

    regards,
    bplv

Viewing 1 replies (of 1 total)
  • The topic ‘comments closed’ is closed to new replies.