diff --git a/wp-content/themes/cosmopet/comments.php b/wp-content/themes/cosmopet/comments.php index 386d6c1..0a96658 100644 --- a/wp-content/themes/cosmopet/comments.php +++ b/wp-content/themes/cosmopet/comments.php @@ -1,211 +1,10 @@ get_the_ID(), - 'status' => 'approve', - 'parent' => $comment_id, - 'order' => 'ASC' - )); - - if ($replies) { - $count += count($replies); - foreach ($replies as $reply) { - $count += count_nested_replies($reply->comment_ID); - } - } - - return $count; -} - -if (post_password_required()) { - return; -} - -if (!is_user_logged_in()) { - ?> -
{{ comment.comment_content }}
+ ++ , {{ fn('pll_e', 'чтобы оставлять комментарии') }} +
+
- , -
-